Ignore:
Timestamp:
Apr 15, 2011, 6:50:16 PM (14 years ago)
Author:
rick
Message:

Prepend 'DEBUG=1' to allow full debug mode in the log files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/gheat/__init__.py

    r9026 r9052  
    1414else:
    1515    level = logging.WARNING
     16if os.getenv('DEBUG', None):
     17    level = logging.DEBUG
     18
    1619logging.basicConfig(level=level) # Ack! This should be in Aspen. :^(
    1720log = logging.getLogger('gheat')
Note: See TracChangeset for help on using the changeset viewer.