Skip to content

Instantly share code, notes, and snippets.

@rh0dium
Created February 7, 2013 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rh0dium/4730844 to your computer and use it in GitHub Desktop.
Save rh0dium/4730844 to your computer and use it in GitHub Desktop.
fabric file logging
log = logging.getLogger(__name__)
django.settings_module('settings')
from django.conf import settings
# Turn down logging..
l = logging.getLogger("ssh")
l.setLevel(logging.ERROR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment