update logger doc

This commit is contained in:
suoning 2017-05-15 10:25:19 +08:00
parent fa1b7de52a
commit a27471178a

View File

@ -14,7 +14,7 @@ from sanic.config import LOGGING
# The default logging handlers are ['accessStream', 'errorStream']
# but we change it to use other handlers here for demo purpose
LOGGING['loggers']['network']['handlers'] = [
'accessTimedRotatingFile', 'errorTimedRotationgFile']
'accessTimedRotatingFile', 'errorTimedRotatingFile']
app = Sanic('test')