Forum Discussion
krishans_52349
Jan 26, 2011Nimbostratus
Hi Colin ,
I am Still unclear that , to achieve one log message that is sent to the syslog server 192.168.x.x , per connection , Should i configure these six line statement
--------------------------------------------------------------------------------------
when CLIENT_ACCEPTED {
log 192.168.203.174 local0.info "Client Connected, IP: [IP::client_addr]"
}
when SERVER_CONNECTED {
log 192.168.203.174 local0.info "Client: [IP::client_addr], Pool member [IP::server_addr]:[TCP::server_port]"
}
--------------------------------------------------------------------------------------
or should i configure these three line statements is enough , Could you please tell me the exact syntax to achieve my aim .
------------------------------------------------------------------------------------------------------------------------------------------------------
when SERVER_CONNECTED {
log 192.168.x.x local0.info "Client: [IP::client_addr], Pool member [IP::server_addr]:[TCP::server_port]"
}
------------------------------------------------------------------------------------------------------------------------------------------------------