I use log4net in my project. However, I want to read settings of lognet from second config file (log4net.config). How can I do this?
Asked
Active
Viewed 34 times
0
-
Please clarify: log4net is already reading from a config file and you want to additionally consider a second config file? Like merging two config files? – Theo Lenndorff Feb 16 '16 at 06:42
-
you mean something like this? http://theburningmonk.com/2010/03/dot-net-tips-using-configsource-or-file-attribute-to-externalize-config-sections/ – slawekwin Feb 16 '16 at 06:47