Why am I getting ValueError: Unable to configure logger 'django_request': Unable to add handler 'request_handler': 'request_handler'?

199 views
Skip to first unread message

Deanna Robertazzi

unread,
Feb 24, 2015, 11:46:33 AM2/24/15
to django...@googlegroups.com
I am making a Django site and when I run ./manage.py shell, I get this traceback:

/home/deanna/django_test/static/
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/deanna/django-deanna/local/lib/python2.7/site-packages/Django-1.7.4-py2.7.egg/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/deanna/django-deanna/local/lib/python2.7/site-packages/Django-1.7.4-py2.7.egg/django/core/management/__init__.py", line 354, in execute
    django.setup()
  File "/home/deanna/django-deanna/local/lib/python2.7/site-packages/Django-1.7.4-py2.7.egg/django/__init__.py", line 20, in setup
    configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
  File "/home/deanna/django-deanna/local/lib/python2.7/site-packages/Django-1.7.4-py2.7.egg/django/utils/log.py", line 87, in configure_logging
    logging_config_func(logging_settings)
  File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
    dictConfigClass(config).configure()
  File "/usr/lib/python2.7/logging/config.py", line 627, in configure
    '%r: %s' % (name, e))
ValueError: Unable to configure logger 'django_request': Unable to add handler 'request_handler': 'request_handler'


This is my Procfile:

web: gunicorn django_test.wsgi
I have attached manage.py and settings.py files to this post.

 I'd greatly appreciate any help you can give me. Thank you.
manage.py
settings.py
Reply all
Reply to author
Forward
0 new messages