Forum Discussion

Shanmuga_Sundar's avatar
Shanmuga_Sundar
Icon for Nimbostratus rankNimbostratus
Nov 18, 2019

iRules Logging - Not logging values

Example:

 

log local0. "[IP::client_addr]:[TCP::client_port]: Sending [HTTP::request]"

 

It prints the entire string without substituting values for TCP::client_port] .etc

1 Reply

  • Try using:

    log local0. "[IP::remote_addr] and [TCP::remote_port] sending [HTTP::request]"

    I am not 100% sure but the colon may be causing the problem. See this for better formatting.