Re: Adding timestamp to maillog

grarpamp <[email protected]>
Newsgroups gmane.mail.fetchmail.user
Message-ID <CAD2Ti29WwrnjR8eTNa9=WBudLvRNSMh2dNyWtPwr=waucMmeYw@mail.gmail.com>
> * 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.

Applications, especially logging functions aka: not human
GUI apps... should generally at least first consider using
the unambiguous, universal, programmatic, parseable,
sortable, human readable, locality independent, international
exchange friendly, timezone clear, international standard
iso8601 format timestamps. The standard was created for that.
strftime(3) format can then be easily modified by user
to whatever their nonstandard local or personal preference
or legacy systems need by a configuration setting or
environment variable, including any formats beyond
those in LC_TIME.

https://en.wikipedia.org/wiki/ISO_8601

2020-09-11T23:12:34+00:00
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.