You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Thomas Halbig <th...@infometis.ch> on 2003/08/08 12:54:07 UTC
passing additional data for logging?
Howdy,
I'm using the JDBCAppender for logging into the database. Therefore I have my own SqlHandler for creating the sql statement.
Inputparameter there is only the LoggingEvent object.
Now, I want to log additional data to it, is it possible anyhow to pass beside the log.debug(...) call additional objects? If yes, how can I get access to this parameter inside sql-handler?
cheers
Tom
I
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org