mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-29 07:52:50 +00:00
chore: redirect access logs to /dev/null in gunicorn and local_model
This commit is contained in:
parent
03ba4df625
commit
638a09d4f4
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue