logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <...@qos.ch>
Subject RE: Pattern Strings
Date Tue, 14 Aug 2001 19:23:15 GMT

What you can do is to log different priorities to different appenders. You can then attach
a different layout (e.g. a PatternLayout) to each appender. Hope this helps, Ceki

At 15:08 14.08.2001 -0400, Keith Schomburg wrote:
>I posted this attached question a week ago and 
>have seen a similiar question from another person 
>neither of which received a response.  Should we
>assume that no reply is an indication that this 
>can not be done?
>  Keith
>> -----Original Message-----
>> Is there a way to specify a different pattern string for 
>> different priority events.  For example can I define one
>> format to use for events with a priority of FATAL and
>> another for all other priorities?  I know you can probably
>> do this programatically but is there a way to set this up
>> via a configuration file?
>To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-user-help@jakarta.apache.org

Ceki Gülcü - http://qos.ch

To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

View raw message