Hi Monks!
I am using the Log::Dispatch::FileRotate perl module to genarate log file and rotate the log file based on the configuration, Below is the configuration, but the log file is not getting open in append mode, but I set the mode as 'append' only. In the log file I am getting only the last message what I wrote into it. Please tell me whether the configuration is wrong?
my $file = Log::Dispatch::FileRotate->new(name =>file1', min_level =>'info', filename => "/ree/DB_log.log", mode => 'append', size => 10, max => 5, );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Log::Dispatch::FileRotate ?
by nagalenoj (Friar) on Nov 25, 2009 at 08:53 UTC | |
by vinoth.ree (Monsignor) on Nov 25, 2009 at 09:38 UTC | |
by gmargo (Hermit) on Nov 25, 2009 at 17:12 UTC | |
by Anonymous Monk on Nov 25, 2009 at 09:08 UTC | |
by vinoth.ree (Monsignor) on Nov 25, 2009 at 09:13 UTC | |
Re: Log::Dispatch::FileRotate ?
by Anonymous Monk on Nov 25, 2009 at 08:14 UTC | |
by vinoth.ree (Monsignor) on Nov 25, 2009 at 08:30 UTC |
Back to
Seekers of Perl Wisdom