I was wondering what is the different between TransferLog and CustomLog. The only difference I can see is that with the TransferLog you cannot give it a log format or give it any other parameters. If this is true why use the TransferLog when the CustomLog does the same thing and has move features.

Thanks,
Mark.

Axel-Stéphane SMORGRAV wrote:

Your non-SSL virtual host logs to access_log using the "combined" log format which AWStats parses correctly.
Your SSL virtual host logs to access_log using the "common" format (by default).

Since the "combined" format is parsed correctly, I suggest that you replace the 
TransferLog directive in the SSL VH by the same CustomLog directive used in the non-SSL 
virtual host. If you are logging to the same file, you may just as well use the same 
format...

-ascs


-----Original Message-----
From: Mark McCulligh [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 5:59 PM
To: Apache User group
Subject: [EMAIL PROTECTED] SSL Logs and AWStats

Hi Group,

I have been looking at how to get AWStats to read SSL logs. And only finding other people looking for the same thing, but no real answers.

Below is how I have my VirtualHost setup. Built using the examples in the docs
<VirtualHost 192.168.102.10:80>
   <...>
  ErrorLog      /usr/local/httpd/logs/site1/error_log
  CustomLog   /usr/local/httpd/logs/site1/access_log conbined
  LogLevel      emerg
</VirtualHost>
<VirtualHost 192.168.102.10:443>
   <...>
  ErrorLog      /usr/local/httpd/logs/site1/error_log
  TransferLog   /usr/local/httpd/logs/site1/access_log
  CustomLog  /usr/local/httpd/logs/site1/ssl_request_log \
      "%t %h %{SSL_PROTOCOL}x %{SLS_CIPHER}x \"%r\" %b"
</VirtualHost>

AWStats is reading the access_log file and of course when it read the records from SSL they come up as corrupted records. How do you get AWStats to read the SSL logs?

Thanks,
Mark.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
___________________________________________
Mark McCulligh, Web Consultant
VisualTech Components www.VisualTech.ca
[EMAIL PROTECTED]
(519)318-7905


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to