Re: Using RollingFileAppender with style=Date.

2009-12-07 Thread Petr Felzmann
Look at this https://issues.apache.org/jira/browse/LOG4NET-27 Petr 2009/12/1 David Gerler > How do I make it only keep a certain number of files when using the > rollingstyle = date? I’ve looked on the website and have not been able to > find an example of anything talking about it. This is

Re: Using RollingFileAppender

2004-12-08 Thread Eric Means
nt to have a week worth of logs - come next Monday, for > ex, and I'd like to start a new Monday.log file. > > > > > -Original Message- > From: Andrew Elmhorst [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 9:14 AM > To: 'Log4NET Use

RE: Using RollingFileAppender

2004-12-08 Thread Shrivastava, Ravi
I'd like to start a new Monday.log file. -Original Message- From: Andrew Elmhorst [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 9:14 AM To: 'Log4NET User' Subject: RE: Using RollingFileAppender Try setting the DatePattern property on the RollingFileAppen

RE: Using RollingFileAppender

2004-12-08 Thread Andrew Elmhorst
Try setting the DatePattern property on the RollingFileAppender to "'.''.log'" This should create backup log files in the pattern [logfilename].Monday.log. This should get you close to what you want. You can also set the StaticLogFileName to false and the RollingFileAppender should write direc