haproxy / spoa-modsecurity

Example of a simple wrapper around the ModSecurity v2 WAF for use with HAProxy's SPOE filtering
18 stars 7 forks source link

Can we suppress logging of connected clients? #1

Open ryansun96 opened 2 years ago

ryansun96 commented 2 years ago

As mentioned here (https://github.com/jcmoraisjr/modsecurity-spoa/issues/6) This seems to be the line logging this information: https://github.com/haproxy/spoa-modsecurity/blob/3c895f3e7dd291dba19d57ba054b277e6fb80ca4/spoa.c#L1247

Would be great if we can offer a switch to control logging of this information.

celevra commented 2 years ago

+1

FireBurn commented 1 year ago

https://github.com/FireBurn/spoa-modsecurity/commit/1a02188cfe8dacd9f97ac6dc3df37855127fa4f1 means it can only be seen when run with debug enabled