Re: [EMAIL PROTECTED] SSL Logs and AWStats

2006-01-18 Thread Mark McCulligh

Axel-Stéphane SMORGRAV wrote:


That's exactly what I was suggesting.

-ascs


-Original Message-
From: Mark McCulligh [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 18, 2006 4:08 PM

To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] SSL Logs and AWStats

Joshua Slive wrote:

 


On 1/18/06, Mark McCulligh <[EMAIL PROTECTED]> wrote:


   

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.
  

 


TransferLog only exists for historical reasons.  There is no reason to use it.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]



   

Thanks, I was wondering if that was the reason. 


If TransferLog is for historical reasons would it be better to have your SSL 
VirtualHost Log setup like this:


   <...>
  ErrorLog   /usr/local/httpd/logs/site1/error_log
  CustomLog  /usr/local/httpd/logs/site1/access_log combined
  CustomLog  /usr/local/httpd/logs/site1/ssl_request_log \
  "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


Trying to figure out the best way to log SSL websites. Starting with the 
examples in the Apache docs.

Thanks,
Mark

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]

 

Thanks, I just wanted to understand the difference between TransferLog 
and CustomLog before I made the change.


Mark.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]



RE: [EMAIL PROTECTED] SSL Logs and AWStats

2006-01-18 Thread Axel-Stéphane SMORGRAV
That's exactly what I was suggesting.

-ascs
 

-Original Message-
From: Mark McCulligh [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 18, 2006 4:08 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] SSL Logs and AWStats

Joshua Slive wrote:

>On 1/18/06, Mark McCulligh <[EMAIL PROTECTED]> wrote:
>  
>
>>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.
>>
>>
>
>TransferLog only exists for historical reasons.  There is no reason to use it.
>
>Joshua.
>
>-
>The official User-To-User support forum of the Apache HTTP Server Project.
>See 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]
>
>  
>
Thanks, I was wondering if that was the reason. 

If TransferLog is for historical reasons would it be better to have your SSL 
VirtualHost Log setup like this:


<...>
   ErrorLog   /usr/local/httpd/logs/site1/error_log
   CustomLog  /usr/local/httpd/logs/site1/access_log combined
   CustomLog  /usr/local/httpd/logs/site1/ssl_request_log \
   "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


Trying to figure out the best way to log SSL websites. Starting with the 
examples in the Apache docs.

Thanks,
Mark

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]



Re: [EMAIL PROTECTED] SSL Logs and AWStats

2006-01-18 Thread Mark McCulligh

Joshua Slive wrote:


On 1/18/06, Mark McCulligh <[EMAIL PROTECTED]> wrote:
 


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.
   



TransferLog only exists for historical reasons.  There is no reason to use it.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]

 

Thanks, I was wondering if that was the reason. 

If TransferLog is for historical reasons would it be better to have your 
SSL VirtualHost Log setup like this:



   <...>
  ErrorLog   /usr/local/httpd/logs/site1/error_log
  CustomLog  /usr/local/httpd/logs/site1/access_log combined
  CustomLog  /usr/local/httpd/logs/site1/ssl_request_log \
  "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


Trying to figure out the best way to log SSL websites. Starting with the 
examples in the Apache docs.


Thanks,
Mark


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]



Re: [EMAIL PROTECTED] SSL Logs and AWStats

2006-01-18 Thread Joshua Slive
On 1/18/06, Mark McCulligh <[EMAIL PROTECTED]> wrote:
> 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.

TransferLog only exists for historical reasons.  There is no reason to use it.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]



Re: [EMAIL PROTECTED] SSL Logs and AWStats

2006-01-18 Thread Mark McCulligh
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


   <...>
  ErrorLog  /usr/local/httpd/logs/site1/error_log
  CustomLog   /usr/local/httpd/logs/site1/access_log conbined
  LogLevel  emerg


   <...>
  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"


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 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 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]



RE: [EMAIL PROTECTED] SSL Logs and AWStats

2006-01-17 Thread Axel-Stéphane SMORGRAV
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

<...>
   ErrorLog  /usr/local/httpd/logs/site1/error_log
   CustomLog   /usr/local/httpd/logs/site1/access_log conbined
   LogLevel  emerg


<...>
   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"


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 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]



[EMAIL PROTECTED] SSL Logs and AWStats

2006-01-17 Thread Mark McCulligh

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


   <...>
  ErrorLog  /usr/local/httpd/logs/site1/error_log
  CustomLog   /usr/local/httpd/logs/site1/access_log conbined
  LogLevel  emerg


   <...>
  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"


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 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]