Use set_log_path
hook,but only create log file, nothing in it.
#5428
Labels
plugin: logging
related to the logging builtin plugin
type: question
general question, might be closed after 2 weeks of inactivity
Using the 'set_log_path' hook on pytest 4.6.2 (Python 3.6.5) creates log files but does not write anything to them.
In
conftest.py
I write like #4707After running the
pytest
command, there are some log files in the "Report" folder. But size of all log files is 0. My test code is like this:The text was updated successfully, but these errors were encountered: