[squid-users] problem with logging to mysql

From: Jan Malan韐 <malanik.jan_at_gmail.com>
Date: Mon, 14 May 2012 15:56:31 +0200

Good day,
I have a problem with logging to mysql. I tried this configuration:
logformat squid %tl;%>a;%>A;%ru;%un;%Ss
access_log daemon:/127.0.0.1/report/surf/squid/squid squid
logfile_daemon /usr/local/sbin/log_mysql_daemon.pl

But it wrote during start:
 /etc/init.d/squid3 start

Starting Squid HTTP Proxy 3.x: squid3Creating Squid HTTP Proxy 3.x
cache structure ... (warning).
2012/05/14 15:16:58| cache_cf.cc(363) parseOneConfigFile:
squid.conf:2309 unrecognized: 'logfile_daemon'
2012/05/14 15:16:58| cache_cf.cc(363) parseOneConfigFile:
squid.conf:2309 unrecognized: 'logfile_daemon'
Why this happen?

Then I found log_db_daemon directive, but I don't know howto configure it.

Please can someone help me?

Thank you Jan Malanik
Received on Mon May 14 2012 - 13:56:32 MDT

This archive was generated by hypermail 2.2.0 : Tue May 15 2012 - 12:00:04 MDT