Mailing List Archive


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

Re: [tlug] apache vhosts logging



On Tue, Jul 14, 2015 at 06:31:30PM +0900, Kalin KOZHUHAROV wrote:
> Has anyone tried to use single access_log for several (but NOT all)
> VirtualHosts?
> 
> e.g.
> 
> <VirtualHost 10.1.1.1:80>
>    CustomLog /var/log/access_log
> ....
> </VirtualHost>
> 
> <VirtualHost 10.2.2.2:81>
>    CustomLog /var/log/access_log
> ....


The silly question--is there a good reason to not use separate logs?

That being said, we've had hosts where we didn't set up separate logs,
everything writing to /var/log/httpd_access.log or similar and it never
broke anything that we saw.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links