Last active
January 8, 2018 16:07
-
-
Save va3093/a28012626d9ce5ce6489626abb14459c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create file logger for debugging | |
import logging | |
f_log = logging.getLogger('spam_application') | |
f_log.setLevel(logging.DEBUG) | |
fh = logging.FileHandler('/Users/wilhelm.vanderwalt/Desktop/file_logger.log') | |
fh.setLevel(logging.DEBUG) | |
f_log.addHandler(fh) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment