nlog - Supressing ServiceStack log messages using NLogFactory -


i using nlog servicestack , having difficulty turning off logs generates. nlog configuration follows:

<logger name="servicestack.*" minlevel="off" writeto="file" final="true"/> <logger name="*" minlevel="info" writeto="file"/> 

basically should not log generated ss , else, log things @ info level or below.

ss seems ignoring these settings though , happily logging away. however, if logging myself , grab logger ss namespace, like

logmanager.logfactory.getlogger("servicestack.servicehost.servicecontroller")     .debug("log message @ debug level"); 

it obey nlog configuration. seems if internal logs ignoring configuration. there missing, or not doing correct way?


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -