All,
I've been looking at supervisord to manage a number of long-running daemon-type processes that produce quite a lot of output. I've found the (very welcome) logfile_maxbytes configuration file options, but I'm also hoping to rotate the logfiles on a daily basis, in addition to when the maxbytes is hit. Why? Well: 1. When searching for a log entry, we will usually know when it occurred, and can therefore search just one (large) logfile for the date concerned rather than having to find which rotated file(s) contain that day's log entries 2. Our daily backups run just after midnight and therefore if the logs are rotated on a daily basis, we will get a full snapshot of the day's logs and can then comfortably keep only a couple of days logs online (using logfile_backups) with the knowledge that older ones are in our backups I know we can use the logrotate tool to do this, and we are using that for other processes now, but given the excellent log handling inside supervisord, it would be great if this could be accomplished natively. Anything I'm missing? Valid feature request? Thanks, Toby
_______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
