Hi.

Looking at this it will already be creating a single log file for all
the hosts in the default access_log file. However if you wish to
create separate logs for each domain you need to add a directive under
the <VirtualHost> section for each domain like:

ErrorLog /location/logs/error_log
CustomLog /location/logs/access_log combined

And replace the /location/logs/ part with where you want the log to go.

Andrew.

----- Original Message -----
From: Asim Manzur <[EMAIL PROTECTED]>
Date: Wed, 08 Sep 2004 14:08:48 -0400
Subject: Re: OT: Any Apache Guru there???
To: CF-Talk <[EMAIL PROTECTED]>

this is also not complete msg, what do I do???

> ***************************************************
> The previous post didn't get my complete message.
> I have put the <!--- and quotes.
> ***************************************************
>
>
> I am running apache in windows xp with the coldfusion.
> I have multiple virtual hosts under apache.
>
> How can I create the detail log files for webserver hits.
>
> the following is the current directive in my httpd.conf file
> #--->     LogFormat directives     <---#
> #
> # The following directives define some format nicknames for use with
> # a CustomLog directive (see below).
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> LogFormat "%{Referer}i -> %U" referer
> LogFormat "%{User-agent}i" agent
> # You need to enable mod_logio.c to use %I and %O
> # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\" %I %O" combinedio________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to