Permalink
Browse files

no logging

  • Loading branch information...
Miserlou committed Nov 29, 2011
1 parent b733db2 commit 2f76420a05d297b77f812300b83488fa3a39e9e2
Showing with 0 additions and 30 deletions.
  1. +0 −30 lightwrite/settings.py
View
@@ -128,36 +128,6 @@
# 'django.contrib.admindocs',
)
-# A sample logging configuration. The only tangible logging
-# performed by this configuration is to send an email to
-# the site admins on every HTTP 500 error when DEBUG=False.
-# See http://docs.djangoproject.com/en/dev/topics/logging for
-# more details on how to customize your logging configuration.
-LOGGING = {
- 'version': 1,
- 'disable_existing_loggers': False,
- 'filters': {
- 'require_debug_false': {
- '()': 'django.utils.log.CallbackFilter',
- 'callback': lambda r: not DEBUG
- }
- },
- 'handlers': {
- 'mail_admins': {
- 'level': 'ERROR',
- 'filters': ['require_debug_false'],
- 'class': 'django.utils.log.AdminEmailHandler'
- }
- },
- 'loggers': {
- 'django.request': {
- 'handlers': ['mail_admins'],
- 'level': 'ERROR',
- 'propagate': True,
- },
- }
-}
-
try:
from local_settings import *
except:

0 comments on commit 2f76420

Please sign in to comment.