in reply to Log::Dispatch::FileRotate ?

The configuration looks ok, so please show a small self-contained example that demonstrates your problem.

Replies are listed 'Best First'.
Re^2: Log::Dispatch::FileRotate ?
by vinoth.ree (Monsignor) on Nov 25, 2009 at 08:30 UTC
    use Log::Dispatch::FileRotate; my $file = Log::Dispatch::FileRotate->new( name => 'file1', min_level => 'info', filename => 'ree.log', mode => 'append', size => 10, max => 5, ); $file->log( level => 'info', message => "Module Testing\n");

    Sample Code using Log::Dispatch::FileRotate module, its print the message into the file not appending its writing the same message in 6 files namely ree.log, ree.log.1,ree.log.2,ree.log.3,ree.log.4,ree.log.5