Re: [squid-users] Statistics using global variable statCounter

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 23 Aug 2002 07:55:36 +0200

Pushkar Patil wrote:
>
> Hi all,
>
> I am trying to gather some statistics of squid, when i saw the source, I
> found an already existing global counter structure in struct.c.
>
> So i wrote another file and made it compile with squid. And just added
> printfs to access these variable, but I am not able to see the result.

Should work. The output should appear in cache.log.

Note: It is better to use the debug() directive within Squid for debug
output. See the rest of the code.. Gives you more control and makes the
messages timestamped properly.

Regards
Henrik
Received on Fri Aug 23 2002 - 02:15:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:07 MST