PromucFlow_constructor/deploy/docker/templates/supervisord/redis.conf
Sumesh Pradhan 6b55e888d9
feat: Auto cleanup application logs (#23084)
- Added cron task to cleanup log files older than 7 days to run weekly.
- Updated supervisor log rotation config to store only 2 backups for all
processes.
2023-05-11 20:10:37 +05:30

18 lines
519 B
Plaintext

[program:redis]
directory=/etc/redis
; The empty string is used to force Redis to log to stdout
; so that supervisor can capture it
command=redis-server redis.conf --daemonize no --logfile ""
priority=5
autostart=true
autorestart=true
startsecs=0
startretries=3
stdout_logfile=/appsmith-stacks/logs/%(program_name)s/%(program_name)s.log
redirect_stderr=true
stdout_logfile_maxbytes=10MB
stderr_logfile_maxbytes=10MB
stdout_logfile_backups=2
stderr_logfile_backups=2
stdout_events_enabled=true
stderr_events_enabled=true