Hi,

right now we use an endless logfile in freevo. Well, that is
bad. Beacon uses a rotating file logger that rotates the file after 1
MB with 3 Backup files. So you have up to 4 MB of logging data. So far
so good. But beacon has two processes running using the same
logfile. On wrap, strange things happen and the two processes use
different log files. That is ugly. So we have the follwing options: 

1. Use an endless logfile. Bad, uses too much disc space.

2. Start a new logfile on startup, maybe rotate to keep old logs. It
   sounds good but it is bad when you use software suspend and never
   restart beacon. It would be like an endless logfile in that case.

3. Use two different logfiles for beacon and its helper. Bad because I
   like to set the logfile on the command line.

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.


Ideas?


Dischi

-- 
Smash forehead on keyboard to continue.....

Attachment: pgp1db50dUE41.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

Reply via email to