From: <msc...@ao...> - 2003-02-27 08:24:30
|
In a message dated 2/26/2003 7:24:28 PM Eastern Standard Time, Kevin Goess <ke...@go...> writes: >Sagar, it looks like log4perl is taking the values from your config hash >and converting them into text strings: Aha! Thanks for the great detective work! >but there is another problem in Log4perl. Log::Dispatch expects the >'level' param to be a word, we are passing an integer, which suggests >that the hash %Log::Log4perl::Levels::L4P_TO_LD should have values that >are words not integers, and that this stuff in Levels.pm Hmm. The Log::Dispatch man page seems to say integers are okay: "Alternately, the numbers 0 through 7 may be used (debug is 0 and emergency is 7)." Is the Apache logger different? If yes, we can certainly add the change as you suggested, patch is attached. -- -- Mike ############################ # Mike Schilli # # log...@pe... # # http://perlmeister.com # # log4perl.sourceforge.net # ############################ |