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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -