Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C345518770 for ; Thu, 14 Jan 2016 21:56:15 +0000 (UTC) Received: (qmail 62811 invoked by uid 500); 14 Jan 2016 21:56:15 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 62772 invoked by uid 500); 14 Jan 2016 21:56:15 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 62760 invoked by uid 99); 14 Jan 2016 21:56:15 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2016 21:56:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C2B6D180639 for ; Thu, 14 Jan 2016 21:36:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.9 X-Spam-Level: *** X-Spam-Status: No, score=3.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id rGYc5v_kAh2U for ; Thu, 14 Jan 2016 21:35:59 +0000 (UTC) Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com [209.85.213.179]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 11B6931AD0 for ; Thu, 14 Jan 2016 21:35:59 +0000 (UTC) Received: by mail-ig0-f179.google.com with SMTP id mw1so177324765igb.1 for ; Thu, 14 Jan 2016 13:35:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XAKW/2HfVtPERsIVuYkA95oQzLiNZlbc72ojBrlqiLk=; b=Fp3xegdQx7/lxDwEPkzvZaIEXq1FkRyfLBbyoyioAgnhc3dnsjlKvmTaf6uJAAJoWC WiQLPVd0blbTHzlLdfJFTCsmJgnWLcFqmU7Eqdguk0iFJ6g8HEwNVTxSmKqYkIPZ+OVD GFTqXIU8EXheC/95angso9SHYpGVg3RfjDQnPG//wiagIYZJ6Q9Gwonb/UiC7A1y2fbB xfs6CkiKSsBGQ2iFG6lfdCHe9DeeWoGbNvAok2XTQgEbQ1dwZSwWHNzWyWThqjHHi5b3 BgnqPsq0nm8gb1O3shqhnCmx4bzienb9zuXApTRi9QlcFsxS7120lSWKLGuP9og1cIl4 D1Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=XAKW/2HfVtPERsIVuYkA95oQzLiNZlbc72ojBrlqiLk=; b=LN4Na8q7rV2Xjo9Ug114FYHMiXcFqhkQNzKEc+Y+zDwdjfQdd31oZQduhHImxP7Iil vxWTlB+bVH8Ny1YQsqTv0j0lgiiBVrhtxiu2a8TaP9tvpfIuvTgK2tAf5KwDjb5jTGYG oUFCwHyUyz/T3LJSwlh8H45OaGQna79kaUo5Hp01nw9iul8iJZBYBnmESWIeMtgtQ7jc Jl59aPb8TPoQgEDGi/zIbIXasOp723O7ApjHn9j5grvQk1fD6LF7x7Vh5zWvKNJz6x6c kiWf7aBCAOK6dOhhSxlnI7HGTekX0jozPdOh3q9fa9Fx5sPcQRKPIaI80wJV9oVWoNA/ yDQA== X-Gm-Message-State: ALoCoQlcvv7vWGNp7LddZNEfeDIUyM1QEhOwsSgpUwO+dA35Uqz33NCj6+sdt2rY3nR/xR1peq0W4vlGtf6VyRBJeGiiXfxfXQ== MIME-Version: 1.0 X-Received: by 10.50.70.38 with SMTP id j6mr32130621igu.13.1452807357990; Thu, 14 Jan 2016 13:35:57 -0800 (PST) Received: by 10.107.12.200 with HTTP; Thu, 14 Jan 2016 13:35:57 -0800 (PST) In-Reply-To: References: Date: Thu, 14 Jan 2016 16:35:57 -0500 Message-ID: Subject: Re: Suppress embedded server debug log messages? From: Derek Mahar To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=047d7b41410a800f900529521233 --047d7b41410a800f900529521233 Content-Type: text/plain; charset=UTF-8 Yes, but it was only the server that was generating large numbers of repetitive "doing deliver" log messages. Not entirely sure what those mean. On 14 January 2016 at 15:19, Clebert Suconic wrote: > shouldn't you be at org.apache.activemq.artemis ? > > as journal, client and others could still be logging debug and trace? > > On Thu, Jan 14, 2016 at 3:16 PM, Derek Mahar > wrote: > > I managed to suppress the Artemis debug log messages by adding the line > > > > > > > > to file "logback.xml" in our project. > > > > Derek > > > > On 14 January 2016 at 15:00, Derek Mahar wrote: > > > >> After reading > http://activemq.apache.org/artemis/docs/1.2.0/logging.html > >> and > >> > https://docs.jboss.org/hibernate/orm/4.3/topical/html/logging/Logging.html > , > >> I think I can figure it out. In our project, JBossLogging delegates to > >> Slf4j which in turn delegates to Logback, so in order to suppress the > >> Artemis debug log messages all I should have to do is introduce a > ( > >> http://logback.qos.ch/manual/configuration.html#loggerElement) into the > >> Logback configuration of our application. Will report the result. > >> > >> Derek > >> > >> On 14 January 2016 at 14:41, Clebert Suconic > > >> wrote: > >> > >>> Can you set these two properties at your JDK? > >>> > >>> -Djava.util.logging.manager="$ARTEMIS_LOG_MANAGER" \ > >>> -Dlogging.configuration="$ARTEMIS_LOGGING_CONF" > >>> > >>> On Thu, Jan 14, 2016 at 2:29 PM, Derek Mahar > >>> wrote: > >>> > How may I suppress the debug continuous stream of log messages that > the > >>> > ActiveMQ Artemis embedded server generates? Some sample messages: > >>> > > >>> > 2016-01-14 09:51:09.066 [DEBUG] [Thread-6 > >>> > > >>> > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@230a9578-1801390477 > >>> )] > >>> > [org.apache.activemq.artemis.core.server:1812] > >>> > QueueImpl[name=jms.queue.outbox.queue, postOffice=PostOfficeImpl > >>> > > >>> > [server=ActiveMQServerImpl::serverUUID=6670e14f-ba4d-11e5-8291-080027f267a9]]@70b3a1a3 > >>> > doing deliver. messageReferences=0 > >>> > 2016-01-14 09:51:09.067 [DEBUG] [Thread-6 > >>> > > >>> > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@230a9578-1801390477 > >>> )] > >>> > [org.apache.activemq.artemis.core.server:1812] > >>> > QueueImpl[name=jms.queue.outbox.queue, postOffice=PostOfficeImpl > >>> > > >>> > [server=ActiveMQServerImpl::serverUUID=6670e14f-ba4d-11e5-8291-080027f267a9]]@70b3a1a3 > >>> > doing deliver. messageReferences=0 > >>> > 2016-01-14 09:51:10.067 [DEBUG] [Thread-15 > >>> > > >>> > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@230a9578-1801390477 > >>> )] > >>> > [org.apache.activemq.artemis.core.server:1812] > >>> > QueueImpl[name=jms.queue.outbox.queue, postOffice=PostOfficeImpl > >>> > > >>> > [server=ActiveMQServerImpl::serverUUID=6670e14f-ba4d-11e5-8291-080027f267a9]]@70b3a1a3 > >>> > doing deliver. messageReferences=0 > >>> > 2016-01-14 09:51:10.067 [DEBUG] [Thread-15 > >>> > > >>> > (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@230a9578-1801390477 > >>> )] > >>> > [org.apache.activemq.artemis.core.server:1812] > >>> > QueueImpl[name=jms.queue.outbox.queue, postOffice=PostOfficeImpl > >>> > > >>> > [server=ActiveMQServerImpl::serverUUID=6670e14f-ba4d-11e5-8291-080027f267a9]]@70b3a1a3 > >>> > doing deliver. messageReferences=0 > >>> > > >>> > Thank you, > >>> > > >>> > Derek > >>> > >>> > >>> > >>> -- > >>> Clebert Suconic > >>> > >> > > > > -- > Clebert Suconic > --047d7b41410a800f900529521233--