Forum Discussion

jaked_150553's avatar
jaked_150553
Icon for Nimbostratus rankNimbostratus
Mar 23, 2015

suppress error logs from an irule

I have an irule that ignores HTTP responses on http profile in a VIP. - Error: Illegal argument (line 1) invoked from within "HTTP::disable"

 

These logs might not mean there is something harmful, but my ltm logs are flooded with this message. Is there a way to suppress these only for the irule in question?

 

Here is my irule:

 

when HTTP_RESPONSE { HTTP::disable }

 

3 Replies

  • In my case, there are issues with connection, but i want those error logs to just stop.

     

    do you mean you just want to exclude the log? if yes, you can filter the log by customizing syslog-ng configuration.

     

    LTM 9.4.2+: Custom Syslog Configuration by Deb Allen

    https://devcentral.f5.com/s/articles/LTM-9-4-2-Custom-Syslog-Configuration

     

  • Hi,

     

    is there a specific reason to disable HTTP proxy in the context of HTTP_RESPONSE?

     

    You can apply this command already in the context of HTTP_REQUEST.

     

    Thanks, Stephan