Internal Log

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Internal Log

shapper
Hello,

I have the following on NLog.config:

<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      throwExceptions="true"
      internalLogFile="c:\NLog.txt"
      internalLogLevel="Error">

Every time I start my application I get in NLog.txt a new line as follows:

  2012-03-10 00:18:29.8699 Info Configuring from an XML element in C:\Projects\NLogText/NLog.config...

Does this make sense?

Shouldn't I get only error messages when they occur?

Thank you,
Miguel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Internal Log

lavanya
I am unable to see this behavior in my application.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Internal Log

shapper
Hello,

I have done the following as you mentioned:
"Set the file properties of the Nlog.config : Copy to OutputDirectory : Copy always. "

But the error message still keeps being saved on NLog.txt every time I start the application.

Any idea of what else to try?

Thank you,
Miguel
Loading...