pytest logcli to write to file

Solutions on MaxInterview for pytest logcli to write to file by the best coders in the world

showing results for - "pytest logcli to write to file"
Apolline
22 May 2017
1[pytest]
2log_cli = 1
3log_cli_level = CRITICAL
4log_cli_format = %(message)s
5
6log_file = pytest.log
7log_file_level = DEBUG
8log_file_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
9log_file_date_format=%Y-%m-%d %H:%M:%S