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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Darren Tucker <dtucker@xxxxxxxxxx> writes:

> On Thu, Oct 29, 2015 at 12:32 PM, Mark D. Baushke <mdb@xxxxxxxxxxx> wrote:
> > Diff updated with suggested changes (also, making the timestamp format
> > ISO8601 compliant).
> >
> > Hmmm... full IOS8601 compliance would include the timzeone so the format
> 
> I don't have a copy of the ISO8601 text, but the wikipedia page says
> "If no UTC relation information is given with a time representation,
> the time is assumed to be in local time."  Which in this case it is.

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. 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 rather than an
ISO 8601 format time and wonder what use case needs to use strftime()
foromats at all.

	-- Mark

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux