Improve logging for monitoring purposes
zeke opened this issue · comments
Zeke Sikelianos commented
I have set up a few Papertrail alerts so we'll get notified of 404 or 500 HTTP statuses:
The 404 and 500 Papertrail searches are currently using a prepended space 404
to find those errors, but it would be nice to have something more explicit to search for in the logs, like status=404
app/web.1: cache hit ummoji/ummoji-desktop
app/web.1: up to date
app/web.1: GET /ummoji/ummoji-desktop/darwin/1.2.12 204
app/web.1: GET /ummoji/ummoji-desktop/darwin/1.2.12 ...
app/web.1: cache hit ummoji/ummoji-desktop
app/web.1: up to date
app/web.1: GET /ummoji/ummoji-desktop/darwin/1.2.12 204