Rob Guttman wrote:
> I'm supervising a process that seems to hold onto the file descriptor 
> after supervisord rotates its logs - so it continues writing to the 
> renamed log file (e.g., "foo.log.1").  A workaround would be for 
> supervisord to simply restart the process whenever it rotates its logs.  
> Is that possible?  How best/easiest to do that?
> 
> Thanks!
> - Rob
> 

If you are logging through supervisor, the patch I just sent to the list 
will solve this problem. If your application is logging directly to a 
file supervisor is managing rotation for, you would need to manage that 
from within your application (say, by restarting).

-w

-- 
 >>>
Whit Morriss
CodeMonkey
[email protected]

_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to