浏览代码

修改欧洲日志配置

locky 9 月之前
父节点
当前提交
cbb2a90920
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Ansjer/eur_config/formal_settings.py

+ 2 - 2
Ansjer/eur_config/formal_settings.py

@@ -272,8 +272,8 @@ LOGGING = {
             'level': 'INFO',
             'class': 'logging.handlers.RotatingFileHandler',
             'filename': BASE_DIR + '/static/log/apple_pay/apple_pay.log',
-            'backupCount': 10,
-            'maxBytes': 1024 * 1024 * 2 * 1024,  # 2G
+            'backupCount': 3,
+            'maxBytes': 1024 * 1024 * 20 * 1024,  # 20G
             'formatter': 'standard',
             'encoding': 'utf-8',
         },