You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Фаттахов Фарит <Fa...@turing.ru> on 2007/10/12 13:59:47 UTC

Clear the content of the log file from the application

Hi there!
How can I clear the content of the log file specified in the log4net
configuration file, when it is needed in the application(such as some button
click event)? RollingFileAppender does not solve the problem because it is
needed to stay the log file name always the same.