|
From: Leif M. <le...@ta...> - 2006-05-10 14:53:24
|
Richard, Sorry it doesn't work that way currently. If you want the date to show up, you have to set the the rollmode to DATE. http://wrapper.tanukisoftware.org/doc/english/prop-logfile-rollmode.html You will get exactly one file per day this way. Days with no output will not be created. Cheers, Leif Richard Emberson wrote: > > I set the log file name to: > > wrapper.logfile=../log/app.wrapper.YYYYMMDD-ROLLNUM.log > > and the role mode to: > > wrapper.logfile.rollmode=SIZE_OR_WRAPPER > > What I get is the current log file is called: > > app.wrapper.log > > and all rolled log files are: > > app.wrapper-1.log > app.wrapper-2.log > .... > app.wrapper-35.log > > > which is not what I expected or hoped for. What I would like is > for each rolled log file to have the date in its name and > if there might happen to be two log files for the given date, then > and only then is the rollnumber part of the name. > > Thanks > > Richard > > > > |