Remove default_msec_format which wasn't doing anything.
This commit is contained in:
parent
acaabb7d61
commit
5a3e521e9a
1 changed files with 0 additions and 1 deletions
|
@ -61,7 +61,6 @@ def add_root_handler(level):
|
||||||
formatter = Formatter('[{asctime}.{msecs:03.0f}] {levelname}:{name}.{funcName}:{message}', style='{', datefmt=datefmt)
|
formatter = Formatter('[{asctime}.{msecs:03.0f}] {levelname}:{name}.{funcName}:{message}', style='{', datefmt=datefmt)
|
||||||
else:
|
else:
|
||||||
formatter = Formatter('[{asctime}.{msecs:03.0f}] {levelname}:{name}:{message}', style='{', datefmt=datefmt)
|
formatter = Formatter('[{asctime}.{msecs:03.0f}] {levelname}:{name}:{message}', style='{', datefmt=datefmt)
|
||||||
formatter.default_msec_format = '%s.%03d'
|
|
||||||
handler.setFormatter(formatter)
|
handler.setFormatter(formatter)
|
||||||
handler.setLevel(level)
|
handler.setLevel(level)
|
||||||
root.addHandler(handler)
|
root.addHandler(handler)
|
||||||
|
|
Loading…
Reference in a new issue