Perl: the Markov chain saw | |
PerlMonks |
Re: [threads] Open a file in one thread and allow others to write to itby roboticus (Chancellor) |
on Nov 16, 2009 at 11:24 UTC ( [id://807416]=note: print w/replies, xml ) | Need Help?? |
Gangabass:
Not an answer to your question, but I tend to use time rather than log file size. I typically name my log files like "foolog.YYYYMMDD_HHMM" and then in the logging function if the log file is old enough, I close it & open a new one. ...roboticus
In Section
Seekers of Perl Wisdom
|
|