Mikko Ohtamaa
Mikko Ohtamaa

Reputation: 83536

Logging Nginx and uWSGI web server errors to Sentry

I am currently using Sentry to log application level errors from Django web application. Could it be possible to expand the scope of the Sentry to include logging of web server errors (HTTP 408 timeouts and such)?

These requests never hit the application, so Django + Python logging configuration never sees it. But from the devops perspective these might be equally important error conditions need to deal with.

Upvotes: 9

Views: 4170

Answers (1)

nokome
nokome

Reputation: 10304

You could try SentryLogs or you could use a Nginx custom error_page which fires off to Sentry.

Upvotes: 2

Related Questions