Forum Discussion
Marcel_Derksen_
Apr 10, 2006Nimbostratus
Debugging iRules
Can anybody tell if there is a general way of debugging irules? I want to debug my current iRule without having to add log local0. commands all over the iRule.
Marcel.
JRahm
Apr 10, 2006Admin
adding logging is the easiest way I know to debug the rules. I usually set a debug variable, then all my log statements are:
if { $debug } {
log "log statement"
}
That way I can leave the debugging code there when I don't need it.
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