the irule looks okay to me. have you customized syslog-ng configuration?
[root@ve1023:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.19.79:80
ip protocol 6
rules myrule
}
[root@ve1023:Active] config b pool foo list
pool foo {
members 200.200.200.101:80 {}
}
[root@ve1023:Active] config b rule myrule list
rule myrule {
when CLIENT_ACCEPTED {
set vip [IP::local_addr]:[TCP::local_port]
}
when SERVER_CONNECTED {
set client "[IP::client_addr]:[TCP::client_port]"
set node "[IP::server_addr]:[TCP::server_port]"
}
when CLIENT_CLOSED {
log connection info
log local0.info "Client $client -> VIP: $vip -> Node: $node"
}
}
[root@ve1023:Active] config cat /var/log/ltm
Feb 22 23:30:12 local/tmm info tmm[4822]: Rule myrule : Client 172.28.19.251:50352 -> VIP: 172.28.19.79:80 -> Node: 200.200.200.101:80