RE: [squid-users] access.log format.

This is a discussion on RE: [squid-users] access.log format. within the Squid Users forums, part of the Web Server and Related Forums category; =20 >=20 > Hi Squiders, > Is there a way I can chose what information squid logs to the &...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2004
Elsen Marc
 
Posts: n/a
Default RE: [squid-users] access.log format.


=20
>=20
> Hi Squiders,
> Is there a way I can chose what information squid logs to the
> access.log? for example, I'm writing a piece of software and the only
> information I'm worried about are the ip address of the client which
> made the request, and the bytes sent to that client.
>=20
> This would be so much easier for me because at the moment I have to
> parse each line of the access.log then break it down into=20
> pieces and try
> to determine which piece refers to client ip and which piece refers to
> bytes sent to client. This doesn't always work properly and=20
> as a result,
> my software ends up trying to add the value of a mime type of=20
> a request
> to the total bytes a client has downloaded instead of it adding the
> bytes received for a request to the total bytes a client has=20
> downloaded.
>=20
> Am I making any sense? What are your thoughts?
>=20

=20
Yes, but existing stuff may already have what you want :

http://www.squid-cache.org/Scripts/

I use Calamaris, which also gives overviews of how much traffic
was send to a client.
=20
M.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0