Browse Source

修改日志文件配置

linhaohong 7 tháng trước cách đây
mục cha
commit
2c333eb69a
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      AnsjerPush/cn_config/cn_formal_settings.py

+ 0 - 5
AnsjerPush/cn_config/cn_formal_settings.py

@@ -207,7 +207,6 @@ LOGGING = {
             'maxBytes': 1024 * 1024 * 2 * 1024,  # 一天以内2GB 保存5天共10GB
             'formatter': 'standard',
             'encoding': 'utf-8',
-            'use_gzip': True,  # 启用 Gzip 压缩
         },
         'time': {
             'level': 'INFO',
@@ -217,7 +216,6 @@ LOGGING = {
             'maxBytes': 1024 * 1024 * 5 * 1024,  # 一天9GB 保存5天 共45GB
             'formatter': 'standard',
             'encoding': 'utf-8',
-            'use_gzip': True,  # 启用 Gzip 压缩
         },
         'v1_push': {
             'level': 'INFO',
@@ -227,7 +225,6 @@ LOGGING = {
             'maxBytes': 1024 * 1024 * 1 * 1024,  # 一天0.05GB 保存40天 共2GB
             'formatter': 'standard',
             'encoding': 'utf-8',
-            'use_gzip': True,  # 启用 Gzip 压缩
         },
         'customized_push': {
             'level': 'INFO',
@@ -237,7 +234,6 @@ LOGGING = {
             'maxBytes': 1024 * 1024 * 2 * 100,  # 100M
             'formatter': 'standard',
             'encoding': 'utf-8',
-            'use_gzip': True,  # 启用 Gzip 压缩
         },
         'error_info': {
             'level': 'INFO',
@@ -247,7 +243,6 @@ LOGGING = {
             'maxBytes': 1024 * 1024 * 2 * 100,  # 100M
             'formatter': 'standard',
             'encoding': 'utf-8',
-            'use_gzip': True,  # 启用 Gzip 压缩
         },
     },
     'loggers': {