update logging doc
This commit is contained in:
parent
a27471178a
commit
68d4bb6ffe
|
@ -14,7 +14,7 @@ from sanic.config import LOGGING
|
||||||
# The default logging handlers are ['accessStream', 'errorStream']
|
# The default logging handlers are ['accessStream', 'errorStream']
|
||||||
# but we change it to use other handlers here for demo purpose
|
# but we change it to use other handlers here for demo purpose
|
||||||
LOGGING['loggers']['network']['handlers'] = [
|
LOGGING['loggers']['network']['handlers'] = [
|
||||||
'accessTimedRotatingFile', 'errorTimedRotatingFile']
|
'accessSysLog', 'errorSysLog']
|
||||||
|
|
||||||
app = Sanic('test')
|
app = Sanic('test')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user