logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dertown <derek.towns...@perspecsys.com>
Subject Adding a custom variable to Log4j logging calls
Date Wed, 19 Mar 2008 18:33:21 GMT

Hi Everyone

I am newbi with log4j ,  i was wondering if there is any example code on how
to add a custom variable to a log4j logging call.

the default is log.log("DEBUG","log message");

I would like to add another custom variable here to allow for some
additional information.

so the new log call will be log.log("DEBUG","log message","more info");

Thanks
Derek
-- 
View this message in context: http://www.nabble.com/Adding-a-custom-variable-to-Log4j-logging-calls-tp16145549p16145549.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