Skip to content

Nameko run with autoloading, logging file CLI option

License

Notifications You must be signed in to change notification settings

babylonhealth/nameko-extras

Repository files navigation

nameko-extras

Some extra functionality for nameko.

Installation

pip install nameko-extras

Logging config from file

Logging may be configured from a file through the --logging-config-file option.

nameko_extras run <module>[:<ServiceClass>] --config ./foobar.yaml --logging-config-file ./logging.conf

Autoreloading

For autoreloading simply add this key to your nameko config file.

AUTORELOAD: true

And instead of running your service with the nameko run command, use nameko_extras run.