Forum Discussion
DineshVM_265886
Altostratus
Feb 09, 2017iRule Failures
How do I troubleshoot or check where the iRules are failing?
crodriguez
Feb 09, 2017Ret. Employee
You can check for run-time detected iRules violations in the LTM logs. However, if you have an actual logic error in your code that is making it behave differently from what you expected, your best bet is to include iRules "log" statements throughout your code (while testing) and use those to debug the issue. For example, a well-placed log command will help you determine which branch you took in a conditional piece of code or show you the value of a variable at various points in the iRule's execution.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects