update logging doc

This commit is contained in:
suoning 2017-05-15 10:54:30 +08:00
parent a27471178a
commit 68d4bb6ffe

View File

@ -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')