chore: redirect access logs to /dev/null in gunicorn and local_model

This commit is contained in:
CaptainB 2025-07-18 10:40:46 +08:00
parent 03ba4df625
commit 638a09d4f4
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ class GunicornService(BaseService):
'--max-requests', '10240',
'--max-requests-jitter', '2048',
'--access-logformat', log_format,
'--access-logfile', '-',
'--access-logfile', '/dev/null',
'--error-logfile', '-'
]
if DEBUG:

View File

@ -35,7 +35,7 @@ class GunicornLocalModelService(BaseService):
'--max-requests', '10240',
'--max-requests-jitter', '2048',
'--access-logformat', log_format,
'--access-logfile', '-',
'--access-logfile', '/dev/null',
'--error-logfile', '-'
]
if DEBUG: