Using NLog as a rollover file logger

Posted by Kaveh Shahbazian on Stack Overflow See other posts from Stack Overflow or by Kaveh Shahbazian
Published on 2010-06-08T19:39:11Z Indexed on 2010/06/08 19:42 UTC
Read the original article Hit count: 316

Filed under:
|
|

How - if possible - can I use NLog as a rollover file logger? as if:

I want to have at most 31 files for 31 days and when a new day started, if there is an old day log file ##.log, then it should be deleted but during that day all logs are appended and will be there at least for 27 days.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET