Closed acrellin closed 3 years ago
Hello @acrellin! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
Is there a matching BL part to this?
@stefanv this is a BL PR 😉
:joy: OK, then I think it's not quite done—the majority of log entries go into the nginx logs?
@stefanv :) I'm not sure what you mean
I think the log entries are 404 HEAD entries made by nginx.
@stefanv you mean messages like this? WARNING:tornado.access:400 PUT /api/comment/26238 (127.0.0.1) 14.89ms
Yes, exactly.
nginx logging level is currently at "info" -- should we bump that to "error" or at least "warn"?
Probably; but I think we'll still run into the 404 HEADs that way.
Nice, there's already a conditional logging check, so I've just updated that to not log 404s -- wanna take another look @stefanv ?
It must log 404's, just not HEAD calls.
:rocket:
Closes https://github.com/skyportal/skyportal/issues/1164