mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user