source field to say Jkd.Vor.ClassA, that is how would I
declare my logger to return this??
That's because you have all logging being done by the logger defined for
Jkd.Vor.Utilities.Logger. You could define a logger for each class using
GetLogger(typeof())
--
Graham Innocent, Bus
there, does your application have read permission ?
Hope this helps,
Graham
Graham Innocent Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
Yep, something like that would be handy.
Graham
Dru Sellers wrote:
I was actually hoping for something like
LogManager.IsShutdown;
Dru
Search your codebase for all instances of LogManager.Shutdown, put
breakpoints on them, then run the code in the debugger.
Cheers,
Graham Innocent Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
Dru Sellers wrote:
How would I check that?
Dru
-Original Message
).
Version: 6.0.817 / Virus Database: 555 - Release Date: 12/15/2004
Is it possible that LogManager.Shutdown() has already been called ?
Cheers,
Graham InnocentParthenon Computing
+44-1865-811184 http://www.parthcomp.com
Hi,
A couple of things to double check:-
1) You have a hard-coded file reference : "..\\..\\log4net.xml"
Are you certain that this corresponds to where your .xml file actually is ?
2) Are you sure that "C:\logFile.txt" is writable by your app ?
Cheers,
Graham Innocent
Chase
Thanks Nicko.
Graham
P.S. Do you have any 'smart device' Visual Studio project
files lying around for making the netcf build ?
To build log4net for the Compact Framework in Visual Studio:
Just create a new C# "Smart Device Application" project.
Add all the *.cs source files from the src dire
nd of problem (either with their own
workarounds, or something they would like to commit to the log4net
codebase) ?
Any advice much appreciated.
--
Graham InnocentParthenon Computing
+44-1865-811184 http://www.parthcomp.com