How to set value to NLog.config
I am just wondering ho开发者_如何学JAVAw to change the value in NLog.config file from other file configuration for example,
<variable name="logDirectory" value="${basedir}/logs/${shortdate}"/>
I want to change logDirectory value to be "C:/logs/${shortdate}" and of course I want to get the value from other configuration file. Is it possible to do that?
thanks in advance.
You can use configSource="YourConfigFile"
精彩评论