Skip Menu |

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

Report information
The Basics
Id: 113083
Status: new
Priority: 0/
Queue: Test-Log-Log4perl

People
Owner: Nobody in particular
Requestors: ZHTWN [...] cpan.org
Cc:
AdminCc:

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



Subject: suppress_logging does not affect new loggers
When suppress_logging is called, it turns off logging for all existing loggers in $Log::Log4perl::Loggers::LOGGERS_BY_NAME by reblessing them into Logger::IgnoreAll. However, any new loggers created after the suppress_logging call do not have their logging suppressed. To do so, suppress_logging would need to wrap Log::Log4perl::_new so that it reblesses all new loggers into Logger::IgnoreAll.