Last active
February 23, 2017 16:21
-
-
Save guestl/b9425b79b72a81727f10f536ac45e285 to your computer and use it in GitHub Desktop.
simple example of logging
This file contains hidden or 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
| logging.basicConfig(filename='walker.log', | |
| level=logging.DEBUG, | |
| format='%(asctime)s - %(levelname)s - %(lineno)d - %(message)s') | |
| logging.debug('#' * 50) | |
| logging.debug('---- --- start processing params ---- ---') | |
| logging.debug('sys.platform is %s' % sys.platform) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment