On 2013-08-14, Dominik Psenner wrote: > 2013/8/14 Stefan Bodewig <bode...@apache.org>
>>> The application runs for 3 days and thus log4net rolls the logfile 3 >>> times. >> Well, I live in a world where all log files of an application are kept >> inside the same folder :-) > For me too, but I've seen enough to know better. Might be a matter of educating the culprits. Yes, I know things like this happen. >> More seriously, to me it sounds like a bit of feature creep. I wouldn't >> consider my logging framework to be the one who's responsible for >> mailing non empty files on rolling. That's the job of >> logrotate/logwatch or similar specialiced tools IMHO. One could even >> argue disposal of logfiles should be out of scope. Maybe that's just >> me. > Yes and no. The framework should at least be able to prevent filesystem > pollution by itself when told to clean up after itself. I'm not sure I agree with that. But arguing against that is almost arguing against having a RollingFileAppender in the first place. So I'll give in. Stefan