From c1e71023169fc31da114f58151cd34d68f8e9c18 Mon Sep 17 00:00:00 2001 From: zhengxie Date: Sat, 9 Apr 2016 11:49:04 +0800 Subject: [PATCH] Change logger to INFO --- seahub/settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/seahub/settings.py b/seahub/settings.py index 3999ada5d7..a038dc53bb 100644 --- a/seahub/settings.py +++ b/seahub/settings.py @@ -406,14 +406,14 @@ LOGGING = { }, 'handlers': { 'default': { - 'level':'WARN', + 'level':'INFO', 'class':'logging.handlers.RotatingFileHandler', 'filename': os.path.join(LOG_DIR, 'seahub.log'), 'maxBytes': 1024*1024*10, # 10 MB 'formatter':'standard', }, 'request_handler': { - 'level':'WARN', + 'level':'INFo', 'class':'logging.handlers.RotatingFileHandler', 'filename': os.path.join(LOG_DIR, 'seahub_django_request.log'), 'maxBytes': 1024*1024*10, # 10 MB @@ -428,12 +428,12 @@ LOGGING = { 'loggers': { '': { 'handlers': ['default'], - 'level': 'WARN', + 'level': 'INFO', 'propagate': True }, 'django.request': { 'handlers': ['request_handler', 'mail_admins'], - 'level': 'WARN', + 'level': 'INFO', 'propagate': False }, }