Forum Discussion
Andy_McGrath
Oct 17, 2018Cumulonimbus
You should to log to a facility and a log level using
log local0.
( see iRule wiki log reference) also your reference for the Virtual Server address is wrong and pointing to an invalid variable name $vip
where you set $VS
.
This should work for you:
when HTTP_REQUEST {
set vip [IP::local_addr]
set uri [HTTP::uri]
log local0.info "Client [IP::client_addr]:[TCP::client_port] connected to VS ($vip)for URI $uri"
}