https://bugs.exim.org/show_bug.cgi?id=728
--- Comment #18 from Heiko Schlittermann <hs@???> ---
(In reply to Andreas Pflug from comment #13)
> How about solution #4
> - close all logfiles when a name change is detected and a new logfile has to
> be opened?
>
> I don't quite see the reasoning why an old logfile should stay open when it
> has been detected as obsolete and a new one is already being opened.
That's what exim does already. Before writing to the log, the
inode_of("mainlog")
is compared with the inode we opened. If they differ, the current log is closed
and a new one starts.
In other words, as soon as it is detected as old, it gets re-opened.
Unfortunenately it detected on write access only.
If you do not write to the mainlog, this detection might be delayed forever...
--
You are receiving this mail because:
You are on the CC list for the bug.