steve_88008
Jul 22, 2010Nimbostratus
debug an irule
i was wondering how to debug an irule? I know there is a location for this in the WUI, however i'd like to see when a condition of the irule is matched.
i was wondering how to debug an irule? I know there is a location for this in the WUI, however i'd like to see when a condition of the irule is matched.
You can use log statements to debug iRules. The output for a log statement to local0.* is written to /var/log/ltm by default. You can check the log wiki page for details or many of the Codeshare examples:
http://devcentral.f5.com/Wiki/default.aspx/iRules/log
http://devcentral.f5.com/Wiki/default.aspx/iRules/CodeShare
Aaron