OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] Logging in apache


Thanks Eric

It means thread are using lock so that one thread/process can write a time. Right ?

On Apr 19, 2018 12:35 AM, "Eric Covener" <covener@xxxxxxxxx> wrote:
On Wed, Apr 18, 2018 at 2:33 PM, Hemant Chaudhary
<hemantdude.chaudhary@gmail.com> wrote:
> Hi Team,
>
> How apache writes to access_log or error log. Whether it opens File
> Descriptor(FD) for each request/connection to write in log file.

Logs are opened by the parent process at startup and the file
descriptors are inherited by the children.  The files are kept open to
and just written by each thread when needed.

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