Skip to content

Instantly share code, notes, and snippets.

@victorono
Created January 22, 2014 02:59
Show Gist options
  • Select an option

  • Save victorono/8552770 to your computer and use it in GitHub Desktop.

Select an option

Save victorono/8552770 to your computer and use it in GitHub Desktop.
import logging
logging.basicConfig(filename='db.log')
logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment