﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31537	Optionally log server_time with timzone	thenewguy	nobody	"It would be helpful if logging format included the timezone for the logged time.  When this information is parsed (for example log aggregation via logstash) the timezone data would be very helpful to create a consistent timestamp.

For reference, https://docs.python.org/3/library/logging.html
{{{
Changed in version 3.3: Previously, the default format was hard-coded as in this example: 2010-09-06 22:38:15,292 where the part before the comma is handled by a strptime format string ('%Y-%m-%d %H:%M:%S'), and the part after the comma is a millisecond value. Because strptime does not have a format placeholder for milliseconds, the millisecond value is appended using another format string, '%s,%03d' — and both of these format strings have been hardcoded into this method. With the change, these strings are defined as class-level attributes which can be overridden at the instance level when desired. The names of the attributes are default_time_format (for the strptime format string) and default_msec_format (for appending the millisecond value).
}}}

Since the date time output is not created via one format operation it is more complicated than just adding %Z or %z to the format string.

Happy to do the work.  Please provide feedback/direction.

"	Uncategorized	new	Uncategorized	3.0	Normal				Unreviewed	0	0	0	0	0	0
