How to specify common application data folder for log4net?

后端 未结 6 1891
一生所求
一生所求 2020-12-01 10:13

I want log4net to write log files (using RollingFileAppender) to a subfolder of the common application data folder (e.g. C:\\Documents and Settings\\All Users\\Application D

6条回答
  •  日久生厌
    2020-12-01 10:57

    This posting on the log4net mailinglist explains how you can define your own path replacement variables.

提交回复
热议问题