Re: [users@httpd] Logging

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

 



On 6/7/05, Murray Silber <murray@xxxxxxxxxxx> wrote:
> Hi
> 
> can anybody lend a hand?
> 
> Here is my query:
> 
> I have my main server & a few virtual servers running. How do I enable
> logging on selected virtual servers and disable logging on others?

If you want certain servers to have their own logs and others to be
logged to a central log, then just place one CustomLog directive in
the main server context (outside any vhost) and then one in each
<VirtualHost> that you want logged separately.

If you want certain vhosts to have no logs at all, then you'll need to
place a CustomLog in those vhosts pointing at the filename /dev/null.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux