Are you running logrotate in conjunction with supervisord? 2012/7/2 Divick Kishore <[email protected]>: > 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
-- Andrés Reyes Monge [email protected] +(505)-8873-7217 _______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
