logging: Show ms with a decimal point, not comma.

The rest of these messages in the server logs are in English;
the numbers should be localized to match.
This commit is contained in:
Greg Price
2017-09-27 15:38:54 -07:00
parent 0163920577
commit bfc245574c

View File

@@ -126,6 +126,9 @@ def skip_site_packages_logs(record):
return True
class ZulipFormatter(logging.Formatter):
# Used in the base implementation. Default uses `,`.
default_msec_format = '%s.%03d'
_fmt = '%(asctime)s %(levelname)-8s %(message)s'
def __init__(self):