From c460b3d7c72f1a56be69773d887477578e7c75f0 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Thu, 28 Feb 2013 16:13:53 -0700 Subject: [PATCH] Bug 3329: Quieten orphan Comm::Connection messages The cases which were earlier causing a lot of RAM 'leaks' have been resolved already and the remaining causes appear to all be in components with short packet handling pathways where the orphan is not wasting much in the way of RAM bytes or FD time. The trace is left at level-4 for future debugging if necessary. --- src/comm/Connection.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/comm/Connection.cc b/src/comm/Connection.cc index 4bb65defd6..02477f9893 100644 --- a/src/comm/Connection.cc +++ b/src/comm/Connection.cc @@ -29,8 +29,8 @@ static int64_t lost_conn = 0; Comm::Connection::~Connection() { if (fd >= 0) { - debugs(5, DBG_CRITICAL, "BUG #3329: Orphan Comm::Connection: " << *this); - debugs(5, DBG_CRITICAL, "NOTE: " << ++lost_conn << " Orphans since last started."); + debugs(5, 4, "BUG #3329: Orphan Comm::Connection: " << *this); + debugs(5, 4, "NOTE: " << ++lost_conn << " Orphans since last started."); close(); } -- 2.47.2