Skip to content

Instantly share code, notes, and snippets.

@thorsummoner
Last active September 29, 2016 17:14
Show Gist options
  • Save thorsummoner/6a05bc1cfe4d1d5294060ec37e154f0c to your computer and use it in GitHub Desktop.
Save thorsummoner/6a05bc1cfe4d1d5294060ec37e154f0c to your computer and use it in GitHub Desktop.
logging snippet
#!/usr/bin/env python3
import logging
logging.basicConfig(level=logging.INFO)
logging.getLogger('urllib3').setLevel(logging.WARNING)
LOGGER = logging.getLogger(os.path.basename(__file__))
@thorsummoner
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment