Skip to content

Commit

Permalink
Fix logs not containing millisecond part
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 authored May 26, 2024
1 parent ba65d67 commit cda4aa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions goth/runner/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def format(self, record: logging.LogRecord) -> str:
"console": {"format": "%(levelname)-8s [%(name)-30s] %(message)s"},
"file": {
"()": CustomFileLogFormatter,
"format": "%(asctime)s %(levelname)-8s %(name)-30s %(message)s",
"datefmt": "%Y-%m-%d %H:%M:%S.%f%z",
"format": "[%(asctime)s.%(msecs)d %(levelname)s %(name)s] %(message)s",
"datefmt": "%Y-%m-%dT%H:%M:%S",
},
},
"handlers": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude = '/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|venv|\.svn|_build

[tool.poetry]
name = "goth"
version = "0.18.0"
version = "0.18.1"
description = "Golem Test Harness - integration testing framework"
authors = ["Golem Factory <[email protected]>"]
license = "GPL-3.0"
Expand Down

0 comments on commit cda4aa8

Please sign in to comment.