From 821908ca45bca303a2c0527c80be78e914a1098e Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 5 Apr 2022 10:10:16 +0200 Subject: [PATCH] Include threadname and time in pytest logs (#69307) * Include threadname and time in pytest logs * Add failing test * Include the name of the logger * Revert "Add failing test" This reverts commit 5dbc1375722909cb5a0022b3e1c021f3bb5415cb. --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index fbe9fa4b6e8..bed61906c3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"