[Bug 2464] Adding timestamp to debug messages (log.c:do_log)

Darren Tucker dtucker at zip.com.au
Thu Oct 29 13:32:21 AEDT 2015

On Thu, Oct 29, 2015 at 1:23 PM, Mark D. Baushke <mdb at juniper.net> wrote:
> Hmmm... I could be wrong here as I have not read the actual ISO 8601
> standard since 1999, but the form 'YYYY-MM-DD HH:MM:SS' is the form
> where the lack of a timezone indicated local time.

That's entirely possible, I've never read it and the text is not
generally available.  The wikipedia page gives an example with the "T"
and without the timezone specifiier, though.

> I do recall that a
> default local time was generally discouraged as being ambiguous.
> In any case, I am more interested in syslog() being used

ssh(1) can already do syslog:

   -y      Send log information using the syslog(3) system module.  By
             default this information is sent to stderr.

Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list