Re: [log4perl-devel] simple example doesn't work as expected

2009-10-27 Thread Mike Schilli
On Sun, 25 Oct 2009, Ali M. wrote: > this simple example from the mastering perl book doesn't work as expected > both messages from ERROR and DEBUG prints to the error_log file what > am i missing ?? Apparently, the book author didn't test the code he was writing down ;). Here's how to do what y

[log4perl-devel] simple example doesn't work as expected

2009-10-27 Thread Ali M.
this simple example from the mastering perl book doesn't work as expected both messages from ERROR and DEBUG prints to the error_log file what am i missing ?? use strict; use warnings; use Log::Log4perl qw(:easy); Log::Log4perl->easy_init( { file => ">> error_log", level => $ERROR