JC_BW
Dec 30, 2016Nimbostratus
Find current event name in irule subroutine.
I'm trying to write a subroutine that can log which event it was in when called. But I have not been able to find documentation as to which built-in variable would contain the current event name. If anyone can point me to a document that has this information or even just knows off the top of their head, I'd appreciate it.
I'm looking to do something like this:
proc log_debug args { log local0. "[IP::client_addr]; [virtual name]; [event name] -- $args" }