Closed Bug 1525614 Opened 5 years ago Closed 5 years ago

fix logging on webapp nodes

Categories

(Socorro :: Webapp, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(2 files)

When running on a server, we use nginx which talks to gunicorn which runs the webapp. Before bug #1467578, all of that was logging a bunch of stuff.

After bug #1467578, we now have gunicorn logging requests in a non-mozlog format, and the webapp logging a bunch of stuff, but not requests in mozlog format.

This is weird.

Maybe we fix gunicorn to log in mozlog format?
Maybe we fix the webapp to log requests?
Maybe we tell gunicorn to hush?

This bug covers figuring out what we should do and then fixing it.

Priority: -- → P2

Looks like the django.server logger is where requests are being logged. That's not included in the server logging settings, but django.request is. We should add django.server and remove django.request. That'll fix webapp logging requests.

This went to prod just now in 364.

Still thinking about the gunicorn part.

Pushed to prod in 365. Marking as FIXED.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: