This iRule worked fine before but when i add this log command inside this iRule client does not recieve response and log shows invalid command executed log.
Please Help.
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/300MEFPOSTPAIDLive*" {
pool Tibco-LB-Group3
HTTP::uri [string range [HTTP::uri] [string first "/" [HTTP::uri] 1] end]
log 10.50.242.239 local0.info “[IP::client_addr][TCP::client_port]"
}
}
}
if you remove the IP address from the log statement, it should successfully log locally. Look into DevCentral - An F5 Technical Community to log remotely from iRules