Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 98382 invoked from network); 29 Jul 2009 14:58:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jul 2009 14:58:56 -0000 Received: (qmail 23291 invoked by uid 500); 29 Jul 2009 14:58:56 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 23235 invoked by uid 500); 29 Jul 2009 14:58:56 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 23226 invoked by uid 99); 29 Jul 2009 14:58:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2009 14:58:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2009 14:58:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7D20A23888E4; Wed, 29 Jul 2009 14:58:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r798931 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java Date: Wed, 29 Jul 2009 14:58:32 -0000 To: commits@activemq.apache.org From: gtully@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090729145832.7D20A23888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gtully Date: Wed Jul 29 14:58:32 2009 New Revision: 798931 URL: http://svn.apache.org/viewvc?rev=798931&view=rev Log: with warn level logging this becomes too verbose in production envs, reverting the warn level, info still available using debug level: https://issues.apache.org/activemq/browse/AMQ-2158 Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java?rev=798931&r1=798930&r2=798931&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java (original) +++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java Wed Jul 29 14:58:32 2009 @@ -242,10 +242,6 @@ LOG.debug("Memory usage change from: " + oldPercentUsage + "% of available memory, to: " + newPercentUsage + "% of available memory"); } - if (newPercentUsage >= 100) { - LOG.warn("Memory usage is now at " + newPercentUsage + "%"); - } - if (started.get()) { // Switching from being full to not being full.. if (oldPercentUsage >= 100 && newPercentUsage < 100) {