Title: RE: ADO.NET appender parameters
I've been using the property example below to send several user-defined messages via ADO.NET appender. This works great except when I'm trying to set a parameter value to DBNull.Value. (e.g. using the command "log4net.GlobalContext.Prope
Title: RE: ADO.NET appender parameters
Thanks for that, the property example was just what I was looking for. Being new to log4net I wasn't sure how to set it up/use it. Keep up the excellent work.
-Original Message-
From: Ron Grabowski [mailto:[EMAIL PROTECTED]]
Sent: 18 Feb
What exactly do you want to send?
This is the example from the website:
Here's an example of how to send data using a property:
log4net.GlobalContext.Properties["Today"] = DateTime.Today;
log.Debug("this is my message");
--- "Coates, Anthony" <[EMA
Hi
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