From: Matthias A. <mat...@gm...> - 2020-09-11 08:26:09
|
Am 11.09.20 um 02:19 schrieb Carlos E. R.: > On 10/09/2020 19.36, Dennis Putnam wrote: >> Has anyone figured out how to add a timestamp on the fetchmail log >> messages to the maillog? TIA > > Yes, use syslog. Syslog is an option we've always had, I have also received and merged a contribution from Holger Hoffstätte to add timestamps to the log. I have merged it onto the legacy_6x branch in Git, it's been part of the 6.5.0-beta1 preview release (snapshot) in July 2020, see its NEWS file. * fetchmail, with --logfile, now logs time stamps into the file, in localtime and in the format "Jun 20 23:45:01 fetchmail: ". It will be localized through the environment variables LC_TIME (or LC_ALL) and TZ. Download: https://sourceforge.net/projects/fetchmail/files/branch_6.5/ (you may need lzip to unpack, https://www.nongnu.org/lzip/lzip.html ) https://gitlab.com/fetchmail/fetchmail/-/merge_requests/21 https://gitlab.com/fetchmail/fetchmail/-/merge_requests/21/diffs https://gitlab.com/fetchmail/fetchmail/-/tree/legacy_6x https://sourceforge.net/p/fetchmail/git/ci/legacy_6x/tree/ |