Skip to content

Commit

Permalink
Merge pull request #22 from muccg/rdr-1362-root-logger
Browse files Browse the repository at this point in the history
RDR-1362 add root logger
  • Loading branch information
aahunter authored Jul 7, 2016
2 parents 903e19c + e6ed778 commit 5f9885e
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions rdrf/rdrf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,10 @@
},
},
'loggers': {
'django': {
'': {
'handlers': ['console', 'file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': True
},
'django.request': {
'handlers': ['mail_admins'],
Expand All @@ -375,25 +377,17 @@
'level': 'CRITICAL',
'propagate': True,
},
'rdrf': {
'handlers': ['console', 'file'],
'level': 'DEBUG',
'propagate': False,
},
'rdrf.rdrf.management.commands': {
'handlers': ['shell'],
'level': 'DEBUG',
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
'rdrf.export_import': {
'handlers': ['console_simple'],
'formatter': 'simplest',
'level': 'INFO',
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
'py.warnings': {
'handlers': ['console'],
},
}
}

Expand Down

0 comments on commit 5f9885e

Please sign in to comment.