Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A93FA1007F for ; Mon, 12 Jan 2015 21:46:44 +0000 (UTC) Received: (qmail 40047 invoked by uid 500); 12 Jan 2015 21:46:46 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 39959 invoked by uid 500); 12 Jan 2015 21:46:46 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 39934 invoked by uid 99); 12 Jan 2015 21:46:46 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2015 21:46:46 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E4356A0289F; Mon, 12 Jan 2015 21:46:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tabish@apache.org To: commits@qpid.apache.org Date: Mon, 12 Jan 2015 21:46:46 -0000 Message-Id: <2ff0c49c582349a0844bf5f7a2e86dab@git.apache.org> In-Reply-To: <7969c3dbcc35447697fc170f0df5e676@git.apache.org> References: <7969c3dbcc35447697fc170f0df5e676@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/3] qpid-jms git commit: Reduce the verbosity of the shotdown logging. Reduce the verbosity of the shotdown logging. Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/d5970ca0 Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/d5970ca0 Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/d5970ca0 Branch: refs/heads/master Commit: d5970ca073aba44df328de9ebb4b780e5628d4e9 Parents: 981c3ad Author: Timothy Bish Authored: Mon Jan 12 16:44:00 2015 -0500 Committer: Timothy Bish Committed: Mon Jan 12 16:44:00 2015 -0500 ---------------------------------------------------------------------- .../main/java/org/apache/qpid/jms/util/ThreadPoolUtils.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/d5970ca0/qpid-jms-client/src/main/java/org/apache/qpid/jms/util/ThreadPoolUtils.java ---------------------------------------------------------------------- diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/util/ThreadPoolUtils.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/util/ThreadPoolUtils.java index 71ae92e..381b19f 100644 --- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/util/ThreadPoolUtils.java +++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/util/ThreadPoolUtils.java @@ -59,10 +59,8 @@ public final class ThreadPoolUtils { if (!executorService.isShutdown()) { LOG.debug("Forcing shutdown of ExecutorService: {}", executorService); answer = executorService.shutdownNow(); - if (LOG.isTraceEnabled()) { - LOG.trace("Shutdown of ExecutorService: {} is shutdown: {} and terminated: {}.", - new Object[] { executorService, executorService.isShutdown(), executorService.isTerminated() }); - } + LOG.trace("Shutdown of ExecutorService: {} is shutdown: {} and terminated: {}.", + new Object[] { executorService, executorService.isShutdown(), executorService.isTerminated() }); } return answer; @@ -179,7 +177,7 @@ public final class ThreadPoolUtils { if (executorService.awaitTermination(interval, TimeUnit.MILLISECONDS)) { done = true; } else { - LOG.info("Waited {} for ExecutorService: {} to terminate...", TimeUtils.printDuration(watch.taken()), executorService); + LOG.debug("Waited {} for ExecutorService: {} to terminate...", TimeUtils.printDuration(watch.taken()), executorService); // recalculate interval interval = Math.min(2000, shutdownAwaitTermination - watch.taken()); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org