Joao Carlos Garcia wrote:
>
> Hi
>
> Since I upgrade Squid from 1.1.20 to 2.1.PATCH2 the file
> /var/log/messages has increased a lot.
>
> Above, some messages in /var/log/messages.
>
> What can I do to stop logging ?
>
> TIA
>
> Joao
>
> Apr 26 05:59:38 proxy1 squid[8457]: Process ID 8457
> Apr 26 05:59:38 proxy1 squid[8457]: With 256 file descriptors available
> Apr 26 05:59:38 proxy1 squid[8457]: Performing DNS Tests...
> Apr 26 05:59:38 proxy1 squid[8457]: Successful DNS name lookup tests...
> Apr 26 05:59:38 proxy1 squid[8457]: helperOpenServers: Starting 15
> 'dnsserver' processes
> Apr 26 05:59:38 proxy1 squid[8457]: Unlinkd pipe opened on FD 24
> Apr 26 05:59:38 proxy1 squid[8457]: Swap maxSize 5632000 KB, estimated
> 433230 objects
> Apr 26 05:59:38 proxy1 squid[8457]: Target number of buckets: 8664
> Apr 26 05:59:38 proxy1 squid[8457]: Using 16384 Store buckets,
> replacement runs every 5 seconds
> Apr 26 05:59:38 proxy1 squid[8457]: Max Mem size: 204800 KB
> Apr 26 05:59:38 proxy1 squid[8457]: Max Swap size: 5632000 KB
> Apr 26 05:59:38 proxy1 squid[8457]: Store logging disabled
> Apr 26 05:59:38 proxy1 squid[8457]: Rebuilding storage in Cache Dir #0
> (DIRTY)
> Apr 26 05:59:38 proxy1 squid[8457]: Rebuilding storage in Cache Dir #1
> (DIRTY)
> Apr 26 05:59:38 proxy1 squid[8457]: Loaded Icons.
> Apr 26 05:59:38 proxy1 squid[8457]: Accepting HTTP connections on port
> 8080, FD 48.
> Apr 26 05:59:38 proxy1 squid[8457]: Accepting ICP messages on port 3130,
> FD 49.
> Apr 26 05:59:38 proxy1 squid[8457]: Ready to serve requests.
>
> Apr 26 08:30:27 proxy1 squid[252]: urlParse: URI has whitespace:
> {http://channels.real.com/getla
> test.glh?PV=6.0.3.209&OS=WIN&L=pt-BR, pt,
> *&LID=1046&ch=125+0+0+0+0&ch=133+0+0+0+0&ch=142+0+0+0+
> 0&ch=143+0+0+0+0&ch=144+0+0+0+0&ch=145+0+0+0+0&ch=52+541+0+0+0&ch=73+45+0+0+0&ch=72+41+0+0+0&ch=
>
> 44+288+0+0+0&ch=113+73+0+0+0&ch=33+413+0+0+0&ch=120+74+0+0+0&ch=98+49+0+0+0&ch=94+295+0+0+0&ch=1
>
> 6+541+0+0+0&ch=51+117+0+0+0&ch=97+114+0+0+0&ch=45+302+0+0+0}
If it's just the 'URI has whitespace' messages that concern you (all the
others you quote here only appear once when squid starts up), then edit
src/url.c
You'll see the debug line you want at about line 260.
I would not advise reducing your logging much. If something goes wrong
you'll really _want_ that information. If a particular message (like the
one about whitespace above) is irritating you, just comment it out of
the source and rebuild. But make a note, in case you ever want to put it
back.
D
Received on Mon Apr 26 1999 - 16:36:53 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:57 MST