[squid-users] squid logging to syslogd

From: Deb <deb@dont-contact.us>
Date: Thu, 7 Mar 2002 07:21:31 -0800 (PST)

Got the logging working - but the results are not what we need...

Here's how I got the logging to work - Colin Campbell hit the nail
on the head when by saying that the file had to be in place first.

But, also, syslogd needed to be HUP'd after the file was put there.
My mistake had been that I had HUP'd syslogd after changing
syslog.conf, but not after I'd hand-created the file.

Using logger -p I confirmed that this configuration worked properly.

However, the only thing being logged via syslogd from squid is that
which pertains to logfile rotation and the cache:

# cat squidlog
Mar 6 15:26:01 proxy-1 root: Testing to local4.info
Mar 6 23:50:08 proxy-1 squid[10711]: storeDirWriteCleanLogs: Starting...
Mar 6 23:50:08 proxy-1 squid[10711]: storeDirWriteCleanLogs: Starting...
Mar 6 23:50:08 proxy-1 squid[10711]: 65536 entries written so far.
Mar 6 23:50:08 proxy-1 squid[10711]: 65536 entries written so far.
Mar 6 23:50:08 proxy-1 squid[10711]: Finished. Wrote 89073 entries.
Mar 6 23:50:08 proxy-1 squid[10711]: Finished. Wrote 89073 entries.
Mar 6 23:50:08 proxy-1 squid[10711]: Took 0.4 seconds (248503.2 entries/sec).
Mar 6 23:50:08 proxy-1 squid[10711]: logfileRotate: /usr/local/squid/logs/store.log
Mar 6 23:50:08 proxy-1 squid[10711]: Took 0.4 seconds (248503.2 entries/sec).
Mar 6 23:50:08 proxy-1 squid[10711]: logfileRotate: /usr/local/squid/logs/store.log
Mar 6 23:50:08 proxy-1 squid[10711]: logfileRotate: /usr/local/squid/logs/access.log
Mar 6 23:50:08 proxy-1 squid[10711]: logfileRotate: /usr/local/squid/logs/access.log

What I need to to get ALL logging, including that which goes into the
store.log and access.log to be redirected to syslogd.

Is this possible?

deb

"If it dies, it's biology. If it blows up, it's chemistry,
and if it doesn't work, it's physics."
                                        -- University bathroom graffito
τΏτ
 ~
Received on Thu Mar 07 2002 - 08:21:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:46 MST