Max size of a string that can be logged in error log

Ashish S at
Tue May 1 16:18:52 UTC 2012


I achieved a higher size than 2048 bytes, by directly tweaking
NGX_MAX_ERROR_STR  in ngx_log.h

But still couldn't figure out if there was a config option to change this.


On Tue, May 1, 2012 at 8:38 AM, Ashish S < at> wrote:
> Hi,
> Is there a maximum size (and a corresponding tunable buffer size or
> so) for a string that can be logged in nginx Error log? I could find
> the tunable for access log (buffer=size), but not for error log.
> Thanks,
> Ashish

More information about the nginx mailing list