error log truncates important infos

Maxim Dounin mdounin at
Tue Jun 14 14:59:20 UTC 2016


On Tue, Jun 14, 2016 at 10:44:32AM -0400, philipp wrote:


> Sometimes we see erros like this:


> It looks like they are truncated. We miss a lot of important information
> like client ip and so on. Is this a known limitation or bug in nginx?

This is a known limitation.  To allow error logging without any 
memory allocations, a 2048-bytes buffer is used.  This limits 
maximum length of error log lines accordingly.

Maxim Dounin

More information about the nginx mailing list