CC: | modules [...] perl.lorg |
Subject: | Not all Log::Dispatch::File options are respected |
Date: | Tue, 9 Apr 2013 16:22:03 -0700 |
To: | bug-Log-Dispatch-File-Stamped [...] rt.cpan.org |
From: | Karen Etheridge <ether [...] cpan.org> |
Log::Dispatch::File optionally does a number of nice things, like bypassing
block buffering, closing the filehandle after every write, etc that this
module does not handle. (From t/other_options.t in the below-mentioned
repository, the options that are currently not respected are: autoflush,
close_after_write, mode, and syswrite.)
As I really would like to use timestamped files, but keep using the
existing settings that I need in production, I've fixed this module as well
as made some modifications to Log::Dispatch::File itself to make
subclassing a little easier.
Dave Rolsky has my fixes for Log::Dispatch::File at
https://github.com/karenetheridge/Log-Dispatch/tree/topic/fix_subclassing.
I've rewritten ::File::Stamped to do the right thing in all cases, as well
as writing tests to confirm this, at
https://github.com/karenetheridge/Log-Dispatch-File-Stamped (using the 0.10
release as a starting point).
I'm happy to do anything extra that is needed to help get this into a
releasable state, up to and including taking on comaint of this module in
case you are busy/no longer interested in Perl development and/or
maintaining this module -- but no pressure, it's totally fine if you don't
want to take that route, too!
cc: modules@perl.org
thanks,
Karen Etheridge
ether@cpan.org