Rob Shortt wrote: > Jason Tackaberry wrote: >> On Sat, 2006-12-30 at 21:17 +0100, Dirk Meyer wrote: >>> 4. Create a special logger for the helper that does not rotate itself >>> but checks if the main proc has rotated and adjust the file. I >>> don't know if that is possible. >> >> 5. Log everything through the main process, and have the child use rpc >> to log. > > I just woke up so this might be stupid, but: > > 6. Like it is now but have the logger check to see if there's a newer > log file it can write to before every write.
This is similar to 4. But how to do that without causing too much overhead? Look at RotatingFileHandler in logging/handlers.py and tell me how. Dischi -- Disc space -- the final frontier!
pgp42wkygWoAg.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
