Hi,
I am seeing strange behavior with supervisord logging. I see that
the logs are only maintained for last 7 days and the logs are not
being rotated based on file size. This is the configuration that I
have for supervisord:
[supervisord]
logfile=/myhome-dir/logs/user/supervisord.log ; (main log file
; default $CWD/supervisord.log)
logfile_maxbytes=20MB ; (max
main logfile bytes b4 rotation ; default 50MB)
logfile_backups=10 ; (num of
main logfile rotation backups ; default 10)
loglevel=debug ; (log
level ; default info ;
others: debug,warn,trace)
pidfile=/myhome-dir/etc/supervisord.pid ;
(supervisord pidfile ; default supervisord.pid)
;nodaemon=true ; (start
in foreground if true ; default false)
nodaemon=false
minfds=1024 ; (min.
avail startup file descriptors ; default 1024)
minprocs=200 ; (min.
avail process descriptors ; default 200)
childlogdir=/myhome-dir/logs/user/
I am not sure why supervisord is not respecting logfile_maxbytes and
logfile_backupds. The version of supervisord that I have installed is
3.0a12.
Any help is appreciated,
Thanks & Regards,
Divick
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users