Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-LogDispatch CPAN distribution.

Report information
The Basics
Id: 76878
Status: new
Priority: 0/
Queue: CGI-Application-Plugin-LogDispatch

People
Owner: Nobody in particular
Requestors: silent2600 [...] gmail.com
Cc:
AdminCc:

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



Subject: can't log more than one message under mod_perl
Date: Sun, 29 Apr 2012 11:16:48 +0800
To: bug-cgi-application-plugin-logdispatch [...] rt.cpan.org
From: silent <silent2600 [...] gmail.com>
hi, I met a problem with this module under mod_perl2 (windows) : it can only log one message unless restart the httpd, later call $self->log->warning() will get httpd error log like: [Sun Apr 29 10:44:21 2012] -e: No 'module' name provided -- skipping this logger at C:/strawberry/perl/site/lib/CGI/Application/Plugin/LogDispatch.pm line 52. I changed the line 58, then it works, - my $module = delete $logger->{module}; + my $module = $logger->{module}; is this change correct ? I only use one log module: $self->log_config( LOG_DISPATCH_MODULES => [ { module => 'Log::Dispatch::File', name => 'debug', filename => 'c:/tmp/my.log', mode => ">>", min_level => 'debug', append_newline => 1 } ] );