chore(conftest): improve log format for pytest.log

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-12-01 17:40:42 +01:00
parent ae0b9d4d55
commit c00707cdd8
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ from scripts.utils.system_path import SystemPath
handler = logging.FileHandler(filename=configs.PYTEST_LOG) handler = logging.FileHandler(filename=configs.PYTEST_LOG)
logging.basicConfig( logging.basicConfig(
level=logging.DEBUG, level=logging.DEBUG,
format='[%(asctime)s] {%(filename)s:%(lineno)d} %(levelname)s - %(message)s', format='[%(asctime)s] (%(filename)18s:%(lineno)-3s) [%(levelname)-7s] --- %(message)s',
handlers=[handler], handlers=[handler],
) )
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)