<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 118: Append date to log file after rollover</title><link>https://sourceforge.net/p/wrapper/feature-requests/118/</link><description>Recent changes to 118: Append date to log file after rollover</description><atom:link href="https://sourceforge.net/p/wrapper/feature-requests/118/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 25 Jan 2010 23:25:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/wrapper/feature-requests/118/feed.rss" rel="self" type="application/rss+xml"/><item><title>Append date to log file after rollover</title><link>https://sourceforge.net/p/wrapper/feature-requests/118/</link><description>It would be nice if the date appending behaved similarly to the log4j's  DailyRollingFileAppender class in that the date of the log file is not appended to the file until the rollover operation happens.  Since the current day's logging info is written to a file appended with the date it explicitly breaks programs that monitor a static log file name \(i.e. Hyperic HQ\). The following is an example of the requested behavior when using the following options:

Example wrapper.conf:
\-------------------------------------------------------------------
wrapper.logfile=wrapper.log.YYYYMMDD
wrapper.logfile.maxfiles=5
wrapper.logfile.rollmode=DATE

Example Directory \(Current Day\):
\-------------------------------------------------------------------
wrapper.log   &amp;lt;--- Current Day
wrapper.log.20090124  &amp;lt;-- Previous Day
wrapper.log.20090123  &amp;lt;-- Previous Day+1
wrapper.log.20090122  &amp;lt;-- Previous Day+2
wrapper.log.20090121  &amp;lt;-- Previous Day+3

Example Directory \(Next Day\):
\-------------------------------------------------------------------
After day rollover \(i.e. when the first message of a new day is written\)

wrapper.log &amp;lt;--- Current Day
wrapper.log.20090125 &amp;lt;--- Old Current Day
wrapper.log.20090124  &amp;lt;-- Old Previous Day
wrapper.log.20090123  &amp;lt;-- Old Previous Day+1
wrapper.log.20090122  &amp;lt;-- Old Previous Day+2
wrapper.log.20090122  &amp;lt;-- Old Previous Day+3 \(file should be deleted\)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Trevor Pounds</dc:creator><pubDate>Mon, 25 Jan 2010 23:25:08 -0000</pubDate><guid>https://sourceforge.netfc266ccf534f6f3709a31452a79fad34438fdf1b</guid></item></channel></rss>