Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send all logging to the root logger instead of per-module loggers.
This undoes the effect of http://github.com/facebook/tornado/commit/e391fd289ed085671344504cc5b1fa84f5a3c774 Per-module loggers are problematic because only the top-level convenience logging.{error,warning,...} functions configure logging on-demand, so an app that only uses per-module loggers will produce no output except "no handlers found for logger X". Since tornado.ioloop swallows and logs all exceptions, this makes it too hard to tell what's going on for apps that do not configure logging explicitly. Instead of setting log levels on individual module's loggers, logging.Handler.addFilter can be used with a filter that examines the module attribute of the log record.
- Loading branch information
Ben Darnell
committed
Apr 20, 2010
1 parent
40ac8d3
commit ca8002f
Showing
12 changed files
with
62 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.