Custom filename in a rolling Log4Net logfile?

后端 未结 6 1634
刺人心
刺人心 2020-12-24 07:50

We have a ASP .Net application whereby we use Log4Net to log details within the app - nothing new there - and the rolling log filenames are in the usual format of:



        
6条回答
  •  情书的邮戳
    2020-12-24 08:32

    Checkout the RollingPatternFileAppender, just like the rollingfileappender plus dynamic file name http://mysite.verizon.net/vze14bhji

提交回复
热议问题