Log4Net config in external file does not work

前端 未结 13 2120
清歌不尽
清歌不尽 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:06

    Make sure that your log4net.config file is set with the following properties:

    Build Action: Content

    Copy to output directory: Copy Always

提交回复
热议问题