Browse Source

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

zhangdongming 2 years ago
parent
commit
34ae8b847f
1 changed files with 1 additions and 1 deletions
  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',