httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hoang Vu Dang <dang....@gmail.com>
Subject Re: ap_log_rerror limit size
Date Wed, 13 Mar 2013 10:41:49 GMT
Yes I am sure I can't find other entries related to that request.

How to find whether I used PIPE_BUF and how to increase that BUF size ?

On Mar 13, 2013, at 11:16 AM, Eric Covener <covener@gmail.com> wrote:

> On Wed, Mar 13, 2013 at 6:01 AM, Hoang Vu Dang <dang.hvu@gmail.com> wrote:
>> Hi guys,
>> 
>> Is there any limit of the size of a message log entry? How to control this ?
>> 
>> I did this:
>> 
>> ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, f->r,
>>                "%s", buffer);
>> 
>> And the buffer was truncated on the error log. I check the strlen of the buffer and
it was about 320K, and I got only around: ~ 8KB
> 
> If it's more than PIPE_BUF, it won't be atomic and can be interleaved
> with other entries.  Are you sure it's truncated and not just spread
> out?


Mime
View raw message