Forum Discussion
Corinna_Lo_1746
Nimbostratus
Jul 15, 2005ways to debug irules
hi,
What are the ways to debug irules? say, if something is not triggered, i would like to see what the values are. are there ways to "print" out a value? say maybe log the value onto a file on bigip box or something?
any suggestion is appreciated.
thanks!
- corinna
1 Reply
- Sure is. Use the log commandlog [.]
This will output the message through the normal syslog configuration. An example of using the log command to output the HTTP uri would be as follows:when HTTP_REQUEST { log local0. "Found uri: [HTTP::uri]" }
The output will be in the /var/log/ltm file on the BIG-IP. This is also viewable from the GUI under the "System"."Logs"."Local Traffic" menu item.
Good luck!
-Joe
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