I think I solved my own problem.

 

Aapparently, it’s necessary to give IWAM_machinename write permissions to the log files. This solved the problem of writing to files. BTW, I’m using an IIS 5.1 server.

 

I’m still curious as to why there is no console output after BasicConfigurator.Configure().

 


From: Gary Hinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 5:44 PM
To: [email protected]
Subject: log4net logging not working

 

Every kind of log4net logging I’ve tried fails to work.

 

For example, even attempting basic logging in a C# web app results in no console output:

 

                  BasicConfigurator.Configure();

                  log.Fatal( "Hello world!" );

 

Any ideas?

 

Reply via email to