httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Logging in apache
Date Thu, 19 Apr 2018 12:42:43 GMT
On Thu, Apr 19, 2018 at 8:36 AM, Rainer Canavan
<rainer.canavan@sevenval.com> wrote:
> On Wed, Apr 18, 2018 at 9:29 PM, Eric Covener <covener@gmail.com> wrote:
>> On Wed, Apr 18, 2018 at 3:18 PM, Hemant Chaudhary
>> <hemantdude.chaudhary@gmail.com> wrote:
>>> Thanks Eric
>>>
>>> It means thread are using lock so that one thread/process can write a time.
>> I believe it's unlocked, I think posix promises they will not be
>> interleaved if written through a shared file descriptor.
>
> If I recall correctly, that's only true as long as the log lines are shorter
> than PIPE_BUF (apparently 4096 on Linux). Very long log lines are
> actually sometimes written interleaved by httpd.

Good point. There was a very recent patch to make that work better
with piped loggers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message