Re: [log4perl-devel] logwarn() not outputting warnings when logger not enabled

2013-11-05 Thread David Christensen
On 11/04/2013 11:18 PM, David Christensen wrote: > I was expecting logwarn() would always output the > warning message to the terminal, and additionally output the warning > message to the log destination if logging is enabled. I found a work-around -- write a wrapper that calls warn() and $logge

Re: [log4perl-devel] logwarn() not outputting warnings when logger not enabled

2013-11-05 Thread Mike Schilli
On Mon, 4 Nov 2013, David Christensen wrote: > I was expecting logwarn() would always output the warning message to > the terminal, and additionally output the warning message to the log > destination if logging is enabled. Apparently, not. This was fixed in Log4perl 1.35: https://github.c

Re: [log4perl-devel] logwarn() not outputting warnings when logger not enabled

2013-11-05 Thread David Christensen
On 11/05/2013 06:17 PM, Mike Schilli wrote: Thanks for the reply, and thanks for Log::Log4perl. :-) > This was fixed in Log4perl 1.35: I suspected as much. > I wouldn't do it in the main root to avoid stepping on the package > manager's files, but if you maintain your own local directory via