Skip to content

Commit

Permalink
Include threadname and time in pytest logs (home-assistant#69307)
Browse files Browse the repository at this point in the history
* Include threadname and time in pytest logs

* Add failing test

* Include the name of the logger

* Revert "Add failing test"

This reverts commit 5dbc137.
  • Loading branch information
emontnemery authored Apr 5, 2022
1 parent ec131d6 commit 821908c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,5 @@ norecursedirs = [
".git",
"testing_config",
]
log_format = "%(asctime)s.%(msecs)03d %(levelname)-8s %(threadName)s %(name)s:%(filename)s:%(lineno)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"

0 comments on commit 821908c

Please sign in to comment.