Log4Net config in external file does not work

前端 未结 13 2117
清歌不尽
清歌不尽 2020-11-30 20:27

We are using log4net and want to specify it\'s configuration in an external config file (as we have done with other sections). To do this we have changed the log4net section

13条回答
  •  鱼传尺愫
    2020-11-30 21:08

    It's also worth pointing out that in a web app it looks in the root directory, not the bin folder, so make sure that's where you put the config file.

提交回复
热议问题