bobbui/json-logging-python

docs: logging.getLogger('root') does not get you the root logger

howardjones opened this issue · 2 comments

In the README, it says to use logging.getLogger('root') to initialise the root logger. That doesn't do that. That initialises a logger called "root".logging.getLogger(None) gets you the root logger.

(Just spent a while with logging_tree to figure out why I couldn't getting JSON logging working in non-main modules)

will take a lôk

updated docs thanks!