osdir.com

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

Re: [users@httpd] Logging in apache


On Wed, Apr 18, 2018 at 2:33 PM, Hemant Chaudhary
<hemantdude.chaudhary@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx