Re: time stamp format in log
Andrew C Aitchison <[email protected]> Sat, 29 Jan 2022 14:05:37 +0000 (GMT)
| Newsgroups | gmane.mail.fetchmail.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 28 Jan 2022, joea- lists wrote:
> I'd prefer to see time stamps in the fetchmail log in 24 hr format, but I see this:
>
> fetchmail: 6.4.21 querying imap.AAAA.com (protocol IMAP) at Fri 28 Jan 2022 03:35:22 PM EST: poll completed
> fetchmail: sleeping at Fri 28 Jan 2022 03:35:22 PM EST for 120 seconds
>
> Did not find a time format in man pages or via searching the wilds.
>
> It is probably right under my nose. Or will be once someone tells me how.
From https://sourceforge.net/projects/fetchmail/files/branch_6.5/
version 6.5 has (or will have, it is still in beta)
* 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.
I did't run v6.4 in verbose mode, so didn't get the
sleeping at ...
messages.
--
Andrew C. Aitchison Kendal, UK
[email protected]