Hi,
I've got logging setup and working fine in a number of apps, but all of a
sudden it won't work on new apps, but only in a few classes.
Ie: in class Main, logging returns nothing, but in class util which main
calls, logging works fine.
Any thoughts?? Or suggestions? (using 1.2.0 Beta
I found a property called "m_thrownException" in the LoggingEvent class
that I can use, but it is private. How do I go about making a public
property to access this? Can I go in with CVS and change the code
myself, or should I enter it as a feature request.
-Original Message-
From: Young
Graham,
Just in case you're curious.
I resolved my log4net issue. For details, see my reply to Nicko.
Thanks again for your help!
Sheila
-Original Message-
From: Graham Innocent [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 20, 2005 8:59 AM
To: Log4NET User
Subject: Re: Has A
Nicko,
It wasn't an issue with the version of log4net I was using. The main problem
was in the configuration file. I had the section before the
settings. This seemed odd to me, since in a typical XML document,
the order that the tags appear in doesn't matter. (I tested this to be
certain. When I
I have created a component to abstract the logging functionality of log4net.
For ease, we'll call this component, 'Foo.dll'.
'Foo.dll', is used in all applications for logging. A static method is
called for each logging statement.
I am trying to figure out how to configure the log4net logger thro
Title: Message
Great,
this helped!
The
options are also listed in the windows help file
C:\log4net-1.2.0-beta8\doc\sdk\net\1.1\log4net-sdk-net-1.1.chm
However, I am not sure whether these are out of date or
not.
Why
not removing the outdated documentation from the web site and instead
Title: Information about the new conversionPattern syntax needed
Its in the html help documentation under the
PatternLayout class. The web site is out of date. To get the html
help file, you have to checkout the latest version from cvs and build the
documentation. 'nant generate-sdkdoc' T
Title: Information about the new conversionPattern syntax needed
I finally found out why all my output was messed up: the configuration patterns in 1.2 Beta 8 have changed, e.g.
%message is now %m
%newline is now %n
%thread is now %t
I did not find any information whether the syntax in