Home > Net >  Trouble ask Log4Net RollingFileAppender software to restart the old log is covered what reason be
Trouble ask Log4Net RollingFileAppender software to restart the old log is covered what reason be

Time:01-29

 & lt; RootAppender appender name="" type=" log4net. Appender. RollingFileAppender "& gt; 


Once the software has been run little things, but the software to restart, the backup log will start from 1 ~ N began to write, the last log will be covered by slowly
The size of the above 1 KB is test

CodePudding user response:

Search: Log4Net configuration steps

CodePudding user response:

reference 1st floor ziqi0716 response:
search: Log4Net configuration, rounding

I look at the official documentation, his configuration I tried a few times still not

CodePudding user response:

Don't look at the official configuration, you delete one by one test, 10 minutes to locate the ah
  •  Tags:  
  • C#
  • Related