Hi,<br><br>I was using the RollingFileAppender, but was missing the <file> element without a date pattern so my current file had the date appended as per the <fileNamePattern> element.<br><br>Thanks!<br><br>----- Original Message -----<br>From: Andreas Kruthoff <andreas.kruthoff@nexustelecom.com><br>Date: Thursday, April 12, 2012 11:57 pm<br>Subject: Re: [logback-user] RollingFileAppender - Current Log with No Date<br>To: logback users list <logback-user@qos.ch><br><br>> On 04/13/2012 12:53 AM, sdoca sdoca wrote:<br>> >Hi,<br>> ><br>> >Is it possible to set up a RollingFileAppender so that the <br>> current log<br>> >file (i.e. today's) doesn't have a date as part of the <br>> filename? Then<br>> >when the log rolls over, the date is appended to the filename <br>> similar to<br>> >how log4j's DailyRollingFileAppender works?<br>> ><br>> >Thanks!<br>> <br>> Yes, that's possible, see<br>> http://logback.qos.ch/manual/appenders.html#TimeBasedRollingPolicy<br>> <br>> Then scoll down to the example: Example: Sample configuration of a<br>> RollingFileAppender using a TimeBasedRollingPolicy<br>> (logback-examples/src/main/java/chapters/appenders/conf/logback-<br>> RollingTimeBased.xml)<br>> --<br>> I can't influence text below here.<br>> <br>> This email and any attachment may contain confidential <br>> information which is intended for use only by the addressee(s) <br>> named above. If you received this email by mistake, please <br>> notify the sender immediately, and delete the email from your <br>> system. You are prohibited from copying, disseminating or <br>> otherwise using the email or any attachment.<br>> <br>> _______________________________________________<br>> Logback-user mailing list<br>> Logback-user@qos.ch<br>> http://mailman.qos.ch/mailman/listinfo/logback-user<br>>