From 33e51f5996c02c6a6aee27b57d91d90e3f1db5a2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 7 Nov 2016 21:30:52 +0100 Subject: Print dabOutputTCP connection drop --- src/dabOutput/dabOutputTcp.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/dabOutput/dabOutputTcp.cpp') diff --git a/src/dabOutput/dabOutputTcp.cpp b/src/dabOutput/dabOutputTcp.cpp index 02bc7f0..2aab48a 100644 --- a/src/dabOutput/dabOutputTcp.cpp +++ b/src/dabOutput/dabOutputTcp.cpp @@ -95,6 +95,10 @@ class TCPConnection m_running = false; } } + + auto addr = m_sock.getRemoteAddress(); + etiLog.level(debug) << "Dropping TCP Connection from " << + addr.getHostAddress() << ":" << addr.getPort(); } }; -- cgit v1.2.3