Skip Menu |

This queue is for tickets about the Catalyst-Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 38759
Status: new
Priority: 0/
Queue: Catalyst-Log-Log4perl

Owner: Nobody in particular
Requestors: rod.taylor [...]

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

Subject: autoflush immediately
Download (untitled) / with headers
text/plain 668b
When using the same log file for multiple Log4perl for both Catalyst and non-catalyst modules I want the statements to appear in order. Modify 'autoflush' to invoke immediate flushing of the catalyst logs. Extending Catalyst::Log::Log4perl causes logs to appear from the wrong module as caller() finds the wrong level. I've modified Catalyst::Log::Log4perl directly instead. *** Wed Aug 27 14:30:58 2008 --- Wed Aug 27 14:32:17 2008 *************** *** 115,120 **** --- 115,121 ---- sub _log { my $self = shift; push @{ $self->{log4perl_stack} }, @_; + $self->_flush() if ($self->{autoflush}); } sub _dump {

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to