1 2 3 4 5 6 7
import logging logging.basicConfig( filename='functional-tests.log', filemode='w', level=logging.DEBUG, )