Last active
May 8, 2018 17:17
-
-
Save schtobia/9f9b964d160508c44288bd2960467884 to your computer and use it in GitHub Desktop.
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
#! /usr/bin/env python3 | |
import logging | |
import logging.handlers | |
logger = logging.getLogger("foo") | |
logger.setLevel(logging.DEBUG) | |
logger.addHandler(logging.handlers.SysLogHandler('/dev/log')) | |
logger.info("foobar") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment