Django uncaught exceptions have no logger set

Hello,

raven catches all uncaught exceptions and sends them correctly to the log server. However they are not associated to any logger, so we can’t use the logger filter. We are having tons of errors reported via Javascript, so it’s quite a pain to search for those uncaugh errors.

What would be the good approch to associate a logger with all uncaught exceptions?

Thank you

In the Raven configuration in your django settings, just set a distinct logger tag. I.e.

RAVEN_CONFIG = {
  'dsn': 'xxx',
  ...
  'tags': { 'logger': 'django' }
}

Hope it helps (worked for us).