[squid-users] intercepting access.log

From: <zeluis@dont-contact.us>
Date: Fri, 25 Oct 2002 20:55:19 -0200 (BRST)

Hi all,
  
it would like a referring aid /var/log/squid/access.log (suse 8). Mine
squid.conf possesss the following parameter: logfile_rotate 0
  
I use transparent proxy, without authentication saw squid. I make proper
authentication through java. At the moment where squid records the event of
log in access.log, my application only has condition to know the name of the
user who is in the referring IP.
  
My problem: to make with that each line of log either sent to a program, in
gcc, that will make a consultation in my bank, postgresql, will get the name
of the user of the referring IP and will record in another table of
postgresql.
  
This everything to each writing in access.log. I imagined something as tail,
but I did not have success.
 
I only need the mechanism to intercept the writing for access.log and to send
as parameter for my gcc program.
 
All the remain already I am working.
  
Somebody could indicate a solution that was possible I to decide this task.
  
Thanks a lot.
  
Ze luis
  
Received on Fri Oct 25 2002 - 17:56:29 MDT

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