Do you have a question? Post it now! No Registration Necessary. Now with pictures!
May 27, 2011, 1:55 am
rate this thread
I want to implement a Log4Perl functionality, where 10 instances of a
single process would write to the single log file. This is doable,
because the Log4perl will take care of serialization.
But, I want to put in rotation too, so that after the end of 1 hour,
the log filename should be changed say from X.txt to (X+1).txt .
Any simple way to go about that or we have to use locking while
filename/filepointer is being changed ?
- » FAQ 3.15 How can I make my Perl program run faster?
- — Next thread in » PERL Discussions