Mailing List Archive


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

Re: [tlug] apache vhosts logging



> <VirtualHost 10.1.1.1:80>
>    CustomLog /var/log/access_log
> ....
> </VirtualHost>
> 
> <VirtualHost 10.2.2.2:81>
>    CustomLog /var/log/access_log
> ....
> </VirtualHost>
> 
> Will apache handle that gracefully (not trying to open 2 FD to the
> same file and overwrite the contents)?

Apache 2.2 or 2.4? (I don't know the answer either way, but it tells you
which source code you need to look at.)

(Having had a quick poke around
https://github.com/winlibs/apache/blob/master/2.4.x/modules/loggers/mod_log_config.c
 my guess is that it opens two FDs, as I cannot spot any checks.)

Darren



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links