DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16663>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16663 DailyRollingFileAppender with more than one 'xxx' section doesn't work Summary: DailyRollingFileAppender with more than one 'xxx' section doesn't work Product: Log4j Version: 1.2 Platform: PC URL: http://www.henricson.se/mats OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Appender AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] I tried to create this DailyRollingFileAppender: DRFA drfa = new DRFA(pl, logFileName, "'.'yyyy-MM-dd-HH-mm'.log'"); That doesn't work. It is never rolled. But if I remove the first '.', the it works: DRFA drfa = new DRFA(pl, logFileName, "yyyy-MM-dd-HH-mm'.log'"); I need this so that I can double click on the log in Windows to open it. ".log" is a recognized appendix, while making one for all dates doesn't work. It is no big deal, since I could work around it, but it is annoying. This *could* be a bug in SimpleDateFormat, but I haven't checked it. Mats --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]