HAProxy community

Logging both TCP connect and disconnect


#1

Good day!
Unfortunately I could not find the method which allows to record in the log both frontend connection and frontend disconnection events. In case, when TCP session is short it is not a problem, but when the TCP session is long IMHO start record and stop record are needed.

Playing with logs.logwait in /src/diff stream.c I reached desirable effect, but I am not specialist and don’t like hacks :slight_smile: IMHO it would be better if we have in config something like two independent options: options logstart and option logstop instead of option logasap

Thank you in advance.


#2

Hello,

all the development related discussion happens on the mailing list, I suggest you send this there (no need to subscribe):

haproxy@formilux.org