Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] Custom log style - osx server/ Summary



On 5/7/03 3:14 PM Cameron Bales .:. (cameron@tantramar.com) wrote:

>I'd like to log using the combined log format so that I can process 
>my logs using Summary.

You should probably read more about how Apache log configuration 
directives work, <http://httpd.apache.org/docs/mod/mod_log_config.html>.

Remember to use Server Settings to turn logging *off* before doing 
anything else, if you haven't done this already.

If you haven't already done so, you will then need to make the changes 
suggested by the Apple comments:

>## 7. Don't modify the CustomLog, ErrorLog, or SSLLog directives; if you
>## want to change them, use Server Settings to turn logging *off* and add
>## a second logging directive after the one that it generates.  

If logging is already working as you want it, except for the log format, 
then all you need to do is the second edit you proposed:

>Then search for:
>  "%h %l %u %t \"%r\" %>s %b"
>and replace with:
>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""

Jason

-----------------
Jason@Summary.Net
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets
-------------
Go to <http://summary.net/list.html> to update subscription info.