good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Which rolling log file module do you recommend?by bulrush (Scribe) |
on Aug 01, 2014 at 12:53 UTC ( [id://1095898]=perlquestion: print w/replies, xml ) | Need Help?? |
bulrush has asked for the wisdom of the Perl Monks concerning the following question:
Which rolling log module do you suggest?
I found Log::Rolling, the CPAN page said it was at version 1.02, but when I installed it via cpanm, it said I installed v1.00. Problem: I have a Perl program that runs continuously and checks email every 30 minutes. At the beginning of a program it opens a log file, and writes entries as the program is run, so I can capture any errors before the program is stopped or crashes. The program can only be stopped by Control-C at the terminal it is running on. Or via an email command sent to it. I want to limit the size of this log file to about 1000 lines. I don't need anything complex. Simple will do. Thank you. After downloading the 1.02 tar.gz file, and installing it, it seems only the internal documentation of the module is wrong. As the .tar.gz file also reported it was installing v1.00.
Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)
Back to
Seekers of Perl Wisdom
|
|