Skip to content

Commit

Permalink
Add log_format and log_date_format in pytest.ini (#370)
Browse files Browse the repository at this point in the history
When the timed use cases fail, the time in the log messages will help in
debugging.
  • Loading branch information
mkanoor authored Feb 15, 2023
1 parent 3f9793c commit 636f466
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
asyncio_mode = strict
log_file_level = INFO
log_cli = true
log_format = %(asctime)s %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
markers =
e2e: mark for end to end tests
temporal: mark for time based tests
Expand Down

0 comments on commit 636f466

Please sign in to comment.