Unnecessary Log Entry?

Lance Dockins lance at wordkeeper.com
Wed Sep 20 16:47:48 UTC 2023


Is there a reason that Nginx continuously logs the sort of message below in
the info log when client_body_in_file_only is set to either "clean" or
"on"?  Regardless of which of those two settings you're using for that
directive, the request body is always going to be buffered to a temporary
file (that is the whole point of that setting).

"[notice] 3951130#3951130: *769735 a client request body is buffered to a
temporary file"

Seems like even the info log should be suppressing that notice if you're
using settings that force the request body to a temp file.

Getting good info out of the info log is proving to be difficult when the
log is flooded with information that is just reaffirming that you have a
setting in place to do exactly what the log is saying.  Certainly we can
grep around it too.  But it's also bloating the info logs so that isn't
great either.

-- 
Lance Dockins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230920/5d10cedb/attachment.htm>


More information about the nginx mailing list