On Tue, 22 Jan 2002 [EMAIL PROTECTED] wrote:
>
> the apache conf file for the logformat is as follows
>
> 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
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%
> {User-Agent}i\"
> %{SSL_PROTOCOL}x %{SSL_CIPHER}x" ssl-combined
> #CustomLog /usr/local/apache/logs/access_log common
> #CustomLog /usr/local/apache/logs/referer_log referer
> #CustomLog /usr/local/apache/logs/agent_log agent
> #CustomLog /usr/local/apache/logs/ssl_request_log "%t %
> h %{SSL_PROTOCOL}x
> %{SSL_CIPHER}x \"%r\" %b"
> #CustomLog /usr/local/apache/logs/access_log combined
> CustomLog /usr/local/apache/logs/access_log ssl-combined
>
> Now which logformat do i use? I know that i can use
> multiple formats but 5 different formats?
OK, lines beginning with hashes are comments, so ignore those. You'll see
from the bottom CustomLog line that your logfile uses the ssl-combined
LogFormat. So analog needs the ssl-combined format in its APACHELOGFORMAT
command like this:
APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" %{SSL_PROTOCOL}x %{SSL_CIPHER}x)
Except all on one line. Make sure that the LOGFILE command comes after the
APACHELOGFORMAT command too.
--
Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------