Log statement in iRule.

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 https://devcentral.f5.com/articles/irules-high-speed-logging-spray-those-log-statements to log remotely from iRules

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

But i want to log it to remote syslog server. The problem is that only log statement should have problem but its making the whole iRule mulfunction.

But i want to log it to remote syslog server. The problem is that only log statement should have problem but its making the whole iRule mulfunction.

The link you provided is not opening

The link you provided is not opening

https://devcentral.f5.com/s/articles/irules-high-speed-logging-spray-those-log-statements