Yury Sobolev
2014-12-04 20:59:18 UTC
Hi,
I am trying to get supervisor to rotate logs daily. There does not appear
to be an option to do so. I could run logrotate, but I am not sure how well
that would work. I would like log files to be unlimited in size, but split
by day. If logrotate rotates the log, supervisor will still have its
descriptor pointing at the old file. Can I force supervisor to reopen a
log? Or, is there a more elegant solution?
-Yury
I am trying to get supervisor to rotate logs daily. There does not appear
to be an option to do so. I could run logrotate, but I am not sure how well
that would work. I would like log files to be unlimited in size, but split
by day. If logrotate rotates the log, supervisor will still have its
descriptor pointing at the old file. Can I force supervisor to reopen a
log? Or, is there a more elegant solution?
-Yury