Default CLI logging config for pytest

This commit is contained in:
Pedro Algarvio 2019-01-04 12:24:43 +00:00
parent db6e417965
commit 2e62722887
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

5
pytest.ini Normal file
View file

@ -0,0 +1,5 @@
[pytest]
log_print=false
log_date_format=%H:%M:%S
log_cli_format=%(asctime)s,%(msecs)03.0f [%(name)-5s:%(lineno)-4d][%(levelname)-8s][%(processName)s(%(process)s)] %(message)s
log_file_format=%(asctime)s,%(msecs)03d [%(name)-17s:%(lineno)-4d][%(levelname)-8s][%(processName)s(%(process)d)] %(message)s