Skip to content

Instantly share code, notes, and snippets.

@dwins
Created October 18, 2010 19:48
Show Gist options
  • Save dwins/632909 to your computer and use it in GitHub Desktop.
Save dwins/632909 to your computer and use it in GitHub Desktop.
import logging
for _module in ["geonode.maps.views"]:
_logger = logging.getLogger(_module)
_logger.addHandler(logging.FileHandler("geonode.log"))
_logger.setLevel(logging.DEBUG)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment