Mailing List Archive


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

Re: [tlug] apache vhosts logging




On Jul 14, 2015 8:12 PM, "Darren Cook" <darren@example.com> wrote:
> > 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.)
>
I guess it is 2.2 (on the move right now, cannot check)...

> (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.)
>
Great pointer, I was just too stressed to poke around the source....

But looking at it now. Apparently, it is normal to not define a log for a particular vhost (and I've done it before), and it ends up in the main log. But... that may be special case looking at the code... Hmm...

Kalin.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links