Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect doc regarding logging #143
In the following:
The last paragraph is incorrect. The log handler is setup one during app.setup(), which uses the name of the app as the logging namespace. Therefore all calls to app.log.info() for example will use the app name namespace... and not the current module where the log was called. Would be handy to change this to accept a name argument to override the app name... such as:
app.log.info('this is my log message', module=__name__)
This would maintain compatibility. Not sure if this should be built into the interface... or just supported by the LoggingLogHandler implementation.