chore: Make sure each container / pod has its own stdout log files (#36205)

This commit is contained in:
Nidhi 2024-09-10 15:35:21 +05:30 committed by GitHub
parent c44c35609c
commit 70a716418a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,3 +39,9 @@ command = python3 -m supervisor.appsmith_supervisor_stdout
buffer_size = 10000
events = PROCESS_LOG
result_handler = supervisor.appsmith_supervisor_stdout:event_handler
stdout_logfile=%(ENV_APPSMITH_LOG_DIR)s/supervisor/access-supervisor-%(ENV_HOSTNAME)s.log
stderr_logfile=%(ENV_APPSMITH_LOG_DIR)s/supervisor/error-supervisor-%(ENV_HOSTNAME)s.log
stdout_logfile_maxbytes=10MB
stderr_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile_backups=10