Skip Menu |

This queue is for tickets about the Log-Log4perl-Appender-File-FixedSize CPAN distribution.

Report information
The Basics
Id: 84609
Status: new
Priority: 0/
Queue: Log-Log4perl-Appender-File-FixedSize

People
Owner: Nobody in particular
Requestors: peter [...] morch.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01
Fixed in: (no value)



Subject: mode => 'append' should create file if it doesn't exist just like Log::Log4perl::Appender::File
Say I want this: my $file = Log::Log4perl::Appender::File::FixedSize->new( filename => '/tmp/pvm.log', size => '10kb', mode => 'append' ); Then with 0.01 I have to touch /tmp/pvm.log first. That is not required with Log::Log4perl::Appender::File - it just creates the file if it doesn't exist already. I mark this bug as important because I have no way of using it like L::L::A::File, where it appends to the file if it exists and creates it if it doesn't.
Subject: Re: [rt.cpan.org #84609] AutoReply: mode => 'append' should create file if it doesn't exist just like Log::Log4perl::Appender::File
Date: Sat, 13 Apr 2013 20:21:12 +0200
To: bug-Log-Log4perl-Appender-File-FixedSize [...] rt.cpan.org
From: Peter Valdemar Mørch <peter [...] morch.com>
Here is a patch against Log-Log4perl-Appender-File-FixedSize-0.01. Perhaps this should've gone into File::RoundRobin instead, but it seems it is the same team maintaining both packages - so you choose :-). Peter

Message body is not shown because sender requested not to inline it.