|
From: Mike S. <m...@pe...> - 2004-05-29 08:48:18
|
Kevin Goess wrote on 5/27/2004, 4:40 PM:
> I was surprised to find out that this does not work:
>
> whoranit = sub { $ENV{USERNAME} || $ENV{USER} }
>
> log4perl.appender.x.ConversionPattern = %d ${whoranit} %m%n
Another option to accomplish this would be using a cspec or a MDC setting.
What do you think the chance of breaking current configs is? It's
probably fairly low -- can you think of an example?
--
-- Mike
Mike Schilli
m...@pe...
|