logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Coates, Anthony" <anthony.coa...@anite.com>
Subject ADO.NET appender parameters
Date Thu, 16 Feb 2006 14:13:30 GMT

I would like to perform some logging with the AdoNetAppender using custom
parameters and values (i.e. not just using a built in value like %thread) so
that I can, in effect, send several user defined messages (other than just
%message) to separate parameters of the stored procedure with a log. I've
noticed in a recent mail the use of loggingEvent.Properties["@textData1"] =
"some string" but am not sure how I can get hold of the loggingEvent prior
to calling the logger (if that's how it's done). Any suggestions with
example code & config would be much appreciated.




Scanned for viruses by BlackSpider MailControl. The integrity and security of this message
cannot be guaranteed. This email is intended for the named recipient only, and may contain
confidential information and proprietary material. Any unauthorised use or disclosure is prohibited.

View raw message