refactor: disable access log.

This commit is contained in:
liqiang-fit2cloud 2025-07-07 15:04:35 +08:00
parent 67f719747c
commit 8ee575b32e
2 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,8 @@ class GunicornService(BaseService):
'--max-requests', '10240',
'--max-requests-jitter', '2048',
'--access-logformat', log_format,
'--access-logfile', '-'
'--access-logfile', 'None',
'--error-logfile', '-'
]
if DEBUG:
cmd.append('--reload')

View File

@ -35,7 +35,8 @@ class GunicornLocalModelService(BaseService):
'--max-requests', '10240',
'--max-requests-jitter', '2048',
'--access-logformat', log_format,
'--access-logfile', '-'
'--access-logfile', 'None',
'--error-logfile', '-'
]
if DEBUG:
cmd.append('--reload')