mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
useless
This commit is contained in:
parent
cc99181cee
commit
a3aa143fa3
@ -101,7 +101,6 @@ class Logger(object):
|
|||||||
fmt=logging.Formatter(self.access_fmt))
|
fmt=logging.Formatter(self.access_fmt))
|
||||||
else:
|
else:
|
||||||
if os.path.exists(cfg.logconfig):
|
if os.path.exists(cfg.logconfig):
|
||||||
util.check_is_writeable(cfg.logconfig)
|
|
||||||
fileConfig(cfg.logconfig)
|
fileConfig(cfg.logconfig)
|
||||||
else:
|
else:
|
||||||
raise RuntimeError("Error: log config '%s' not found" % path)
|
raise RuntimeError("Error: log config '%s' not found" % path)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user