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

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

 



Diff updated with suggested changes (also, making the timestamp format
ISO8601 compliant).

Hmmm... full IOS8601 compliance would include the timzeone so the format
string would be "%Y%m%dT%H%M%S%z" (and need to increase the size of the
timebuf[20] by one byte or you would use gmtime() instead of localtime()
and the format string "%Y%m%dT%H%M%SZ". I think gmtime() may be simpler.

	-- 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