------- You are receiving this mail because: -------
You are the QA contact for the bug.
http://bugs.exim.org/show_bug.cgi?id=486
--- Comment #9 from Simon Arlott <bugzilla.exim.simon@???> 2009-10-09 12:58:17 ---
(In reply to comment #8)
> Exactly 1 person has requested this feature and there is an easy work around to
> get the same effect with logrotated and a little scripting (I actually have
> this setup with daily logs moved to an archive at the end of the day).
Not really. The same effect cannot be achieved with logrotated, only an
approximation based on a sudden rush to rename several log files all at
midnight.
The logs could go into per-day files and merged into a monthly file daily, but
that makes the current file more difficult to tail -f.
> With strftime I was looking for a way to make this as useful as possible to
> everyone. If we're adding features, it's always best to add a fully featured
> one than a gimped one.
It could be quite complex to add strftime without making it less efficient; the
whole format string can't be passed to strftime because it will have a %s in
it.
tod_stamp() would need to gain a format string parameter which is then only
used by some callers, or all callers would have to pass a format string and use
strftime() instead of sprintf().
> In this case the backwards compatibility is an issue so this may be the best
> answer if it is to be included.
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email