Skip to content

Instantly share code, notes, and snippets.

@sgrankin
Created January 20, 2014 04:18
Show Gist options
  • Save sgrankin/8514789 to your computer and use it in GitHub Desktop.
Save sgrankin/8514789 to your computer and use it in GitHub Desktop.
import logging
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s %(levelname)7s: %(message)s', # [%(name)s +%(lineno)d]',
datefmt='%Y-%m-%dT%H:%M:%S%z',
)
logger = logging.getLogger(__name__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment