bulrush has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Which rolling log file module do you recommend?
by McA (Priest) on Aug 01, 2014 at 13:15 UTC | |
|
Re: Which rolling log file module do you recommend?
by McA (Priest) on Aug 01, 2014 at 13:24 UTC |