Log4net - how to disable creation of empty log file on app start

Posted by binball on Stack Overflow See other posts from Stack Overflow or by binball
Published on 2010-03-28T15:26:43Z Indexed on 2010/03/28 15:33 UTC
Read the original article Hit count: 412

Hi,

I have configured log4net in my app successfully but one thing is a little bit annoying for me. The log file is created (empty) after my app start even if no error occurs. I would like to log file be created only after some error.

Greetz!

© Stack Overflow or respective owner

Related posts about c#

Related posts about log4net