fix logging on webapp nodes
Categories
(Socorro :: Webapp, task, P2)
Tracking
(Not tracked)
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.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
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.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
This went to prod just now in 364.
Still thinking about the gunicorn part.
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Pushed to prod in 365. Marking as FIXED.
Description
•