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
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
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
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
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
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
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
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.
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
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
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
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
12 matches
Mail list logo