Skip to content

Instantly share code, notes, and snippets.

@noodlebreak
Created February 9, 2016 09:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save noodlebreak/5de58858e202529bfd17 to your computer and use it in GitHub Desktop.
logging.basicConfig(
format='%(levelname)s %(asctime)s %(message)s',
filename='/tmp/EJABBERD_DEBUG_LOG',
datefmt='%m-%d-%Y %I:%M:%S %p',
level=logging.DEBUG)
flog = logging.debug
flog("Hey !")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment