electron / update.electronjs.org

📡 A free service that makes it easy for open-source Electron apps to update themselves.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve logging for monitoring purposes

zeke opened this issue · comments

I have set up a few Papertrail alerts so we'll get notified of 404 or 500 HTTP statuses:

image

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