Re: nlog - not creating log files when used with web applications

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: nlog - not creating log files when used with web applications

Jarek Kowalski
Administrator
One more thing, you should remove the programmatic configuration code from Global.asax.cs as this overrides the configuration file.
 
Jarek
----- Original Message -----
Sent: Thursday, June 01, 2006 5:51 AM
Subject: Re: nlog - not creating log files when used with web applications

Hi!
 
Thanks for info. It did not throw any errors.
 
I'm trying to execute the sample application (ASPNetTraceTest), which I've got on downloading nlog-0.95-bin.zip (binary version), by configuring the web.nlog file, in order to log messages to .log files.
 
Trace.axd portion worked well. I'm more keen in having .log files with various names (viz., 20060601AppLog.log in logs folder etc.) as mentioned in NLog documentation
 
Find attached my web application, with all the config files and rest all.
 
Pls. advice me asap. I need to put this in-place in our project at the earliest.
 
 
Thanks,
 
Lakshmi Saripella
 
----- Original Message -----
Sent: Wednesday, May 31, 2006 11:07 PM
Subject: Re: nlog - not creating log files when used with web applications

Please add <nlog throwExceptions="true" /> and let me know if you get any errors.
 
Jarek
----- Original Message -----
Sent: Wednesday, May 31, 2006 6:16 PM
Subject: Fw: nlog - not creating log files when used with web applications

 
----- Original Message -----
Sent: Wednesday, May 31, 2006 9:42 PM
Subject: nlog - not creating log files when used with web applications

Hi!
 
I'm trying to use NLog with my .net web application and followed all the given instructions. However, I do not get to see the .log files getting created when applying with .net web application. In contrast the log files are getting created when applied with windows application.
 
Any input is highly appreciating.
 
Thanks in advance
 
Lakshmi Saripella
 
NLog Blog