Help needed to programmatically set the appender

2010-08-05 Thread Patrick Shirley
Hi, I'm having trouble figuring out how to programmatically set the appender for a logger at run time. I want my logger to be configured by an XML file to obtain default values but then to dynamically change the appender. I default my logger to this: _log = LogManager.GetLogger("SoeiDental.Lo

RE: Experiencing locks while using AdoNetAppender

2009-08-19 Thread Patrick Kalkman
ADODBAppender. What would be the best way to make the neccessary changes? Create my own version of the ADODBAppender? Thanks for any reactions, Patrick Van: Ron Grabowski [mailto:rongrabow...@yahoo.com] Verzonden: Wednesday, August 19, 2009 3:36 AM Aan: Log4NET

Experiencing locks while using AdoNetAppender

2009-08-18 Thread Patrick Kalkman
for a solution like deriving from the AdoNetAppender and add the functionality? Thanks in advance for any answers. Patrick **DISCLAIMER** Deze E-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet

RE: Using machine.config for log4net configuration

2005-05-31 Thread Conant, Patrick D
Having not received a response, I delved into the code a bit. It looks like Log4Net doesn't look in the machine.config file, so any settings there would never be read or used... Back to the drawing board... --p. -Original Message- From: Conant, Patrick D Sent: Friday, May 27, 20

Using machine.config for log4net configuration

2005-05-27 Thread Conant, Patrick D
I'm trying to create central log4net configuration settings for multiple .NET components running on a single machine. I thought I'd be able to do this by putting log4net.dll in the GAC and adding log4net config settings in the machine.config file. However, my web services still look for log4net c

AW: Unable to log unless ASPNET user is an Administrator in Win2000

2005-02-08 Thread Patrick
Hi, I am very interesting in your Soap Extensions. I would need in my diploma thesis. Is it possible to send me a copy of your code? - This would be very nice! Regards patrick -Ursprüngliche Nachricht- Von: Sridhar S [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 08. Februar 2005 20

Calling Stored Procedure in CommandText in config file

2004-12-29 Thread Patrick Cheng
Hi, As the subject stated, How can i call a stored proc in the CommandText in a config file? I have been searching for it, but i'm unable to find a concrete example on it. The docs simply said we can write insert statements, or stored proc there. But i failed to execute my stored proc. (which wor

Question on Logging customized information

2004-12-28 Thread Patrick Cheng
Hi, I would like to log some data via ADONETAppender into my own log table. Say, my table LOG has column A(varchar(100)) and B (varchar(100)). I do not want to log the default information such as %logger %thread %logdate etc... instead i want to log my own A and B values into the database.

AW: ADONetAppender

2004-11-29 Thread Patrick
If you do not know how I have to define the connectionType, can you anybody recommend me who I can ask? Regards -- Patrick Achatschitz, Bakk. Fasangasse 8/3 1030 Vienna Austria Mobile: 01 650 270 8819 -Ursprüngliche Nachricht- Von: Nicko Cadell [mailto:[EMAIL

ADONetAppender

2004-11-29 Thread Patrick
log information I add the following: log.Debug("The program got here!"); LogManager.Shutdown(); But when I execute my application and invoke this method, nothing happens. Can you please help me what went wrong here? Best Regards ------ Patrick Achatschitz, Bakk. Fasa

log4net and .NET/COM Interop

2004-11-19 Thread Patrick
I have written a .NET Class library (a WS-Security based web-service proxy client), which is invokable via .NET Interop from ASP 2.0 Classic. The Class library is 1) registered to GAC 2) type library registered using regasm /tlb It has all been working fine until I added a single line of log4net

ERROR: No appender named [A] could be found

2004-11-17 Thread Patrick
I have downloaded Log4net 1.1.1 at http://prdownloads.sourceforge.net/log4net/log4net_1_1_1.zip?use_mirror=ovh I can't even get the TestApp example working (I have stripped it down and still no joy!). I note that the sample app does not have a config file in there. So here is what I did 1) Ext