Forum Discussion
IRULE TO REMOVE LOGS FROM FORWARD PROXY IRULE
What irule can be used to remove logs from an irule. The situation is that, the irule applied to a virtual server is filling up the /var/log folder and tmm is rebooting.
example, if { $static::enable_logging_L4_VIP_GPRS_TRANSPARENT } { set logging_handle [HSL::open -proto UDP -pool ${static::log_destination_L4_VIP_GPRS_TRANSPARENT} ]
i WANT ALL logs removed or tmm not to activate them
- Lee_SutcliffeNacreous
If you want to disable logging, just read from a variable. You can change the value of this vaiable if you need to do any debugging.
set enableLogging 0 if { enableLogging == 1 } { set logging_handle [HSL::open -proto UDP -pool ${static::log_destination_L4_VIP_GPRS_TRANSPARENT }
In your instance, you have a static variable 'enable_logging_L4_VIP_GPRS_TRANSPARENT' setting this to 0 should do the same thing
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