-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change makes it easier to use the gunicorn log for application messages. Everything is overridable and configurable as before, but by default greins will use a new logging class, `greins.GreinsLogger`. The `GreinsLogger` class is just like the logger from gunicorn, except it configures a handler on the root logger which forwards to the handler for the 'gunicorn.error' logger and uses a formatter that includes the package name of the source of each log message. Reported by Mark Doliner (#14).
- Loading branch information
Showing
2 changed files
with
43 additions
and
1 deletion.
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