That's a good question; not right now, unless you're willing to patch the squid sources.
In that case, just remove the debugs() statement in lines 200-203 of file src/helper/Reply.cc .
On Mon, Aug 28, 2023 at 9:52 PM David Touzeau <david@xxxxxxxxxxxxxx> wrote:
Thanks You
As these changes affect many things for us ( use tags for statistics / elasticsearchs) and it seems, this behavior is just a warning (seems squid still work as expected like note acls)
Is there a way to remove these warnings because they increase I/O and cache.log dramatically.
regards
On 28/08/2023 22:46, Francesco Chemolli wrote:
Hi David,
you should useitchart_=PASS
The trailing underscore signals Squid that this is a custom header.
On Mon, Aug 28, 2023 at 3:54 PM David Touzeau <david@xxxxxxxxxxxxxx> wrote:
_______________________________________________
Hi
Since 6.2 ( aka migrating from 5.8 )
Squid claim about token sent by external_acl_helper
the external acl helper send
"OK itchart=PASS user=dtouzeau category=143 category-name=Trackers clog=cinfo:143-Trackers;"
squid claim
2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper annotation with a name reserved for Squid use: itchart=PASS
advice: If this is a custom annotation, rename it to add a trailing underscore: itchart_
current master transaction: master278
2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper annotation with a name reserved for Squid use: category=143
advice: If this is a custom annotation, rename it to add a trailing underscore: category_
current master transaction: master278
2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper annotation with a name reserved for Squid use: category-name=Trackers
advice: If this is a custom annotation, rename it to add a trailing underscore: category-name_
current master transaction: master278
2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper annotation with a name reserved for Squid use: clog=cinfo:143-Trackers;
advice: If this is a custom annotation, rename it to add a trailing underscore: clog_
current master transaction: master278
2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper annotation with a name reserved for Squid use: itchart=PASS
advice: If this is a custom annotation, rename it to add a trailing underscore: itchart_
current master transaction: master278
Did the helper instead of "itchart=PASS" must send
"itchart_=PASS"
or
"itchart_PASS"
?
-- David Touzeau - Artica Tech France Development team, level 3 support ---------------------------------- P: +33 6 58 44 69 46 www: https://wiki.articatech.com www: http://articatech.net
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.squid-cache.org/listinfo/squid-users
--
Francesco
-- David Touzeau - Artica Tech France Development team, level 3 support ---------------------------------- P: +33 6 58 44 69 46 www: https://wiki.articatech.com www: http://articatech.net
Francesco
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx https://lists.squid-cache.org/listinfo/squid-users