CONTRIB: tcploop: implement logging when called with -v
authorWilly Tarreau <w@1wt.eu>
Sat, 12 Nov 2016 16:50:57 +0000 (17:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 Nov 2016 17:28:29 +0000 (18:28 +0100)
commit869c759153a387125c55bad9e122c7a506dae319
tree871dae5060a6e77ae7ea5b410dc6a87e43ccc499
parent95a6b786fc10008ee774b538bf7221fd504de604
CONTRIB: tcploop: implement logging when called with -v

This is helpful to show what state we're dealing with. The pid is
written, optionally followed by the time in 3 different formats
(relative/absolute) depending on the command line option (-t, -tt, -ttt).
contrib/tcploop/tcploop.c