Explorar o código

修改国外推送日志文件大小

zhangdongming %!s(int64=2) %!d(string=hai) anos
pai
achega
34ae8b847f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      AnsjerPush/us_config/formal_settings.py

+ 1 - 1
AnsjerPush/us_config/formal_settings.py

@@ -204,7 +204,7 @@ LOGGING = {
             'level': 'INFO',
             'class': 'logging.handlers.RotatingFileHandler',
             'filename': BASE_DIR + '/static/log/info/info.log',
-            'maxBytes': 1024 * 1024 * 300,  # 300M
+            'maxBytes': 1024 * 1024 * 2 * 1024,  # 2G
             'backupCount': 30,
             'formatter': 'standard',
             'encoding': 'utf-8',