Log::Log4perl sending DEBUG and above to a file and WARN and above to the screen

Tom Hukins tom at eborcom.com
Thu May 8 04:22:25 PDT 2008

On Thu, May 08, 2008 at 11:50:04AM +0200, Edwardson, Tony wrote:
> Anyone know of a way to get the rootLogger to additionally send
> errors to STDERR so I get to see them without introducing new
> categories ?

Why do you want to use the rootLogger?  I would create an additional
logger that ignores anything below the ERROR level and uses the Screen
appender to log to STDERR.


More information about the MiltonKeynes-pm mailing list