logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kram <mark.macum...@gmail.com>
Subject Re: Custom Parser to handle special properties
Date Fri, 08 Aug 2008 01:19:52 GMT

Ok, typical me, jumped in WAY too far too quickly.

I did not even need a custom PatternParser, just a local variable in the
properties file.

#custom properties
instanceId=PC1

log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} ${instanceId}
[%t] %-5p %c - %m%n

Done...
-- 
View this message in context: http://www.nabble.com/Custom-Parser-to-handle-special-properties-tp18882222p18883271.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


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


Mime
View raw message