Hello,
I recently started toying with log4perl, and incorporated it in an
application. I need the capability to define a log layout for WARN
messages that is a lot more user-friendly/readable than the others.
After reading the documentation at:
http://log4perl.sourceforge.net/releases/Log-Log4pe
It's possible, but it's probably less than straightforward. Each
appender has exactly one layout, so what you'll need to do is create
two appenders, and use some combination of thresholds and filters so
that one appender only logs WARN messages and the other appender logs
everything else.
On Sat, 9 Feb 2008, Kevin M. Goess wrote:
> It's possible, but it's probably less than straightforward. Each
> appender has exactly one layout, so what you'll need to do is create
> two appenders, and use some combination of thresholds and filters so
> that one appender only logs WARN messages an