Subject: | logwarn() should warn() unconditionally |
There are two requests (by Martin J. Evans and Christopher Mckay) to
change the behavior of logwarn() so that it will a) warn()
unconditionally and b) issue a WARN-level message to log4perl, which will
then be logged conditionally.
The current implementation suppresses the warn() call if the Log4perl
level requires the message to be suppressed in Log4perl.
This leads to unexpected results, because changing warn() in Perl code to
$logger->logwarn() changes the program's behavior when Log4perl turns
logging off.