Forum Discussion
iRule Failures
How do I troubleshoot or check where the iRules are failing?
1 Reply
- crodriguezRet. 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.
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