You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by Susan Huffaker <sh...@rollovermarket.com> on 2004/07/27 23:11:34 UTC
Adding new parameters to ADONetAppender
Is it possible to add parameters to the ADONetAppender?
I'm already using @thread, @loglevel, @logger, @description. But I'd
like to add a few new ones and have log4net put each on of the new ones
in a column of a SQL database.
I understand how to add the parameters to the log4net config file, but
how do I send the values of the parameters to log4net?
For example, let's say I want to add a parameter called sessionID. How
can I tell log4net to log the sessionID as well as the thread, loglevel,
etc. ?
Does anyone have an example?
Thanks!
Susan