Forum Discussion
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
- Michael_Jenkins
Cirrostratus
Check out the catch command. I think that may be what you're looking for.
- nitass
Employee
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
- StephanManthey
Nacreous
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com