File diff a00fc7845e3c → 2f43a3b9e668
pinaxcon/settings.py
Show inline comments
...
 
@@ -265,21 +265,26 @@ LOGGING = {
 
    'loggers': {
 
        'django.request': {
 
            'handlers': ['mail_admins'],
 
            'level': 'DEBUG',
 
            'propagate': True,
 
        },
 
        'symposion.request': {
 
            'handlers': ['mail_admins'],
 
            'level': 'DEBUG',
 
            'propagate': True,
 
        },
 
        'apps': { # I keep all my of apps under 'apps' folder, but you can also add them one by one, and this depends on how your virtualenv/paths are set
 
            'handlers': ['log_file'],
 
            'level': 'DEBUG',
 
            'propagate': True,
 
        },
 
    },
 
    # you can also shortcut 'loggers' and just configure logging for EVERYTHING at once
 
    'root': {
 
        'handlers': ['console', 'mail_admins'],
 
        'handlers': ['console', 'log_file'], #'mail_admins'],
 
        'level': 'DEBUG'
 
    },
 
}
 
FIXTURE_DIRS = [
 
    os.path.join(PROJECT_ROOT, "fixtures"),
 
]