Forum Discussion
Nicolas_MENOUX_
Nimbostratus
May 18, 2010How to get the line number of my Irule for debugging ?
Hi,
I use many IRules on my F5 BigIP to rewrite URLs for specific services. I logged these rewrited urls into local0.info but I would like to insert in that log the line concerned in my IRule script. Indeed, I used many if elsif... and I would like to get the line number of my script which will transform my url. Thus, in my log I could easily see which line in a specific script is concerned for rewriting url...easier to debug ;-)
A sort of "_line" variable I could use before writing my string to the log file. Any idea ?
Thanks for your help,
Regards,
- hoolio
Cirrostratus
Hi Nicolas, - Nicolas_MENOUX_
Nimbostratus
Hi Aaron,
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