I am trying to log the target server a request is being sent to using [LB::server addr] in HTTP_REQUEST section and I notice that only selected requests are logging the server address. Half of the requests are logging nothing. Can somebody throw some light on similar experiences? Thanks!
i think it logs nothing because server has not been selected.
LB::server addr
Returns the IP address of the currently selected pool member. If no server was selected yet or all servers are down, returns null.
LB::server