Re: AdoNetAppender for SQL db issue

2007-04-30 Thread nmarun
I found out the error: --- Move the commandText line after all the parameter nodes. Thanks Arun nmarun wrote: > > Hi Log4Net developers/users, > > I'm currently developing a logging mechanism for our company and I'm > having an issue with the below code - its not working!! > > [code] > >

RE: %l to %level difference..

2007-04-30 Thread nmarun
Hi Nick, I was using an older version. The latest one works perfectly fine. Thanks again Arun nicko wrote: > > Which version of log4net are you using? > > > Nicko Cadell > log4net development > http://logging.apache.org/log4net > > -Original Message- > From: nmarun [mailt

RE: %l to %level difference..

2007-04-30 Thread nicko
Which version of log4net are you using? Nicko Cadell log4net development http://logging.apache.org/log4net -Original Message- From: nmarun [mailto:[EMAIL PROTECTED] Sent: 30 April 2007 18:36 To: log4net-user@logging.apache.org Subject: %l to %level difference.. Hi, I'm ha

RE: Event ID's in the EventLogAppender...

2007-04-30 Thread Nicko Cadell
Rory, There is an extension that allows the EventID to be passed through to the appender. It is in the log4net download at: extensions\net\1.0\log4net.Ext.EventID and there is an example of using this extension, also in the log4net download, at: examples\net\1.0\Extensibility\EventI

%l to %level difference..

2007-04-30 Thread nmarun
Hi, I'm having an trouble with %l and %level specifiers. My RollingLogFileAppender is as below: [CODE] [/CODE] When i look into the log file, I see a va

RE: Event ID's in the EventLogAppender...

2007-04-30 Thread Rory Clark
Resending as I haven't seen a response yet. Thanks! Rory From: Rory Clark Sent: Thursday, April 26, 2007 2:27 PM To: 'log4net-user@logging.apache.org' Subject: Event ID's in the EventLogAppender... I'm probably missing it, but are there any samples of specify

AdoNetAppender for SQL db issue

2007-04-30 Thread nmarun
Hi Log4Net developers/users, I'm currently developing a logging mechanism for our company and I'm having an issue with the below code - its not working!! [code]

RE: 3rd party assembly logging configuration

2007-04-30 Thread nicko
It sounds like you want to separate the logging done in your shared assembly and the (optional) logging done in the main application. All logging and logging configuration is done using a logger repository. There is a default logger repository that is used by all assemblies, however it is possible

3rd party assembly logging

2007-04-30 Thread minherz
Hello. I failed finding a clear answer to my question here, though there are several posts that touching the subject. I have a set of shared assembly which use log4net. However, the application does not have to use it as well i do not want that the log4net configuration of the application will dic

Re: Logging in dependency of release or debug mode

2007-04-30 Thread minherz
I think it has nothing to do with configuration, since Debug and Release are not smth. that you can identify in the runtime. However, you can put in the code dependencies which code will be compiled depending on DEBUG conditional variable. For example something like #if DEBUG logger.Debug("Displa