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.