Created
September 21, 2010 11:42
-
-
Save maplpro/589555 to your computer and use it in GitHub Desktop.
python stack trace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
logging.basicConfig( filename = r"C:\Program Files\Quest Software\Site Administrator for SharePoint\SharePoint Information Portal\iis\test.log", level = logging.INFO ) | |
log = logging.info | |
import isapi_wsgi | |
try: | |
import django.core.handlers.wsgi | |
except Exception,e: | |
import traceback | |
log( traceback.format_exc() ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment