Nicolas_MENOUX_
May 18, 2010Nimbostratus
How 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,