RE: ADO.NET appender parameters

2006-02-24 Thread Coates, Anthony
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

RE: ADO.NET appender parameters

2006-02-20 Thread Coates, Anthony
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

Re: ADO.NET appender parameters

2006-02-17 Thread Ron Grabowski
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

ADO.NET appender parameters

2006-02-16 Thread Coates, Anthony
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