mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix issue #15. patch provided by @lericson . Thanks!
This commit is contained in:
parent
e8a82c9598
commit
374f0898a9
@ -59,7 +59,7 @@ def configure_logging(opts):
|
||||
|
||||
loglevel = LOG_LEVELS.get(opts.loglevel.lower(), logging.INFO)
|
||||
|
||||
logger = logging.getLogger()
|
||||
logger = logging.getLogger('gunicorn')
|
||||
logger.setLevel(loglevel)
|
||||
for h in handlers:
|
||||
h.setFormatter(logging.Formatter("%(asctime)s - %(levelname)s %(message)s"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user