Drop redundant milliseconds from logging

The current code logs the milliseconds twice:

  2020-09-21 00:24:21,706.706 3484 DEBUG VirtualBMC [-] Get power...

The documentation for the logging module in py3 is quite
unambiguous about %(asctime) providing milliseconds.
The documentation in py2 is unclear on what is supposed
to offer, but in practice it works exactly as py3.

Change-Id: Ibb050c58d5fb949316700d7d2db4c77bd62f5e25
This commit is contained in:
Pete Zaitcev 2020-09-20 23:31:15 -05:00
parent d79f82339c
commit 07094b5cd0
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ from virtualbmc import config
__all__ = ['get_logger']
DEFAULT_LOG_FORMAT = ('%(asctime)s.%(msecs)03d %(process)d %(levelname)s '
DEFAULT_LOG_FORMAT = ('%(asctime)s %(process)d %(levelname)s '
'%(name)s [-] %(message)s')
LOGGER = None