Re: [squid-users] add DENIED tag by redirector for easy identification in logfile

2012-11-02 Thread Alex Rousskov
On 10/31/2012 05:07 AM, Amm wrote: I have a redirector which blocks certain sites. But in squid logs there is no way to indicate if redirector blocked it. On 10/31/2012 06:36 AM, Amm wrote: I suppose as of now there is no solution. But thanks again. Hi Amm, There is a solution, but it

Re: [squid-users] add DENIED tag by redirector for easy identification in logfile

2012-11-02 Thread Amm
- Original Message - From: Alex Rousskov rouss...@measurement-factory.com Hi Amm,   There is a solution, but it requires switching from a url_rewriter script to an eCAP adapter. Adapters can set annotations (name:value tags) that Squid can log via %adapt::last_h logformat code.

[squid-users] add DENIED tag by redirector for easy identification in logfile

2012-10-31 Thread Amm
Hi I wanted to know if url_rewrite_program can add a TAG for logging. I have a redirector which blocks certain sites. But in squid logs there is no way to indicate if redirector blocked it. As per this, there is already a tag called DENIED when request is rejected by acl.

Re: [squid-users] add DENIED tag by redirector for easy identification in logfile

2012-10-31 Thread Amos Jeffries
On 1/11/2012 12:07 a.m., Amm wrote: Hi I wanted to know if url_rewrite_program can add a TAG for logging. Not for tags output by the helper program itself. I am currently working on a project to clean up and combining the Squid helper interfaces such that for example; url_rewrite_program

Re: [squid-users] add DENIED tag by redirector for easy identification in logfile

2012-10-31 Thread Amm
- Original Message - From: Amos Jeffries squ...@treenet.co.nz   If you are interested in sponsoring any code development towards that please contact me off-list about payment details. Hi Amos, First of all thanks for replying immediately. But sorry to say that its a very small