1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

more clarifying logs

This commit is contained in:
A_D 2022-01-20 16:32:36 +02:00
parent 66a212f7c4
commit 5f007b3f77
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -92,7 +92,9 @@ logging.Logger.trace = lambda self, message, *args, **kwargs: self._log( # type
**kwargs
)
# make logging use UTC for times
# make logging use UTC for times, to help make our logs congruent with journals etc.
# Note that as this is the local system vs the remote system (ED servers, for journals), times may not be perfectly
# in sync. (something something NTP)
logging.Formatter.converter = gmtime