[exim-dev] [Bug 486] Monthly datestamped log files

Top Page
Delete this message
Reply to this message
Author: Ted Cooper
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 486] Monthly datestamped log files
------- You are receiving this mail because: -------
You are the QA contact for the bug.

http://bugs.exim.org/show_bug.cgi?id=486




--- Comment #3 from Ted Cooper <eximX0902w@???> 2009-03-08 12:55:58 ---
Should only allow for %M or %D, not both.

tod_stamp(int type) function in tod.c needs to be updated to include a monthly
todstamp as calling a monthly log file yyyymmDD is questionable. The DD part is
irrelevant. line 1543 in src/expand.c - case vtype_todlf needs to be duplicated
with a new type to correctly deal with tod_stamp calls.

Documentation needs updating.

Perhaps instead it should allow for the full strftime so log files can be named
whatever people want them to be rather than limiting to only 2 of the formats.

To quote the docs on panic "The location of the panic log is also determined by
log_file_path, but it is not datestamped, because rotation of the panic log
does not make sense".


As a side - most systems now come with logrotated or something similar. Is log
file management really something that should still be in exim?


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email