NLogger want to log only Info and Error- but showing everything

  • Thread starter Thread starter Ashokkumar9892
  • Start date Start date
A

Ashokkumar9892

Guest
Hi,

I am using NLog,

NLogger want to log only Info and Error- but showing everything.

log.Info("This is a message from {0}", "Mickey Donovan");

log.Error("test");



it showing trace and other details, why??

my config is like this:

<rules> <logger name="*" minlevel="Error" writeTo="file" />

<logger name="*" minlevel="Info writeTo="file" /> </rules>


Jumping

Continue reading...
 
Back
Top