update logger doc
This commit is contained in:
parent
fa1b7de52a
commit
a27471178a
|
@ -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', 'errorTimedRotationgFile']
|
'accessTimedRotatingFile', 'errorTimedRotatingFile']
|
||||||
|
|
||||||
app = Sanic('test')
|
app = Sanic('test')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user