3

I am getting 500 error when DEBUG is set to False, and I am unable to get any error emails too, tried this link but no success.

I have also tried option --traceback but all I am getting from the console is:

[22/Mar/2014 22:19:58] "GET /admin/ HTTP/1.1" 500 2263
Community
  • 1
  • 1
James Lin
  • 25,028
  • 36
  • 133
  • 233

1 Answers1

4

Problem was I have logging defined, which overridden the default logging config

Simply adding this to my logging config will show the error in console.

      'django.request': {
          'handlers': ['console'],
          'level': 'ERROR',
          'propagate': True,
      },
James Lin
  • 25,028
  • 36
  • 133
  • 233