Logging setup


#1

From @rizplate on Mon Mar 19 2018 23:45:46 GMT+0000 (UTC)

How to setup logging for the service and all its dependancies?

Copied from original issue: https://github.com/nameko/nameko/issues/527


#2

From @mattbennett on Tue Mar 20 2018 11:53:16 GMT+0000 (UTC)

If you use nameko run on the command line you can specify dictConfig style logging in your configuration file.

See http://nameko.readthedocs.io/en/stable/cli.html?highlight=logging#running-a-service


#3

Hi @mattbennett,

Following this github ticket, I have published a first version of a nameko extension for structlog. Perhaps someone finds it useful. You can have a look at it here