activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Mahar <derek.ma...@gmail.com>
Subject Re: Suppress embedded server debug log messages?
Date Thu, 14 Jan 2016 20:16:23 GMT
I managed to suppress the Artemis debug log messages by adding the line

<logger name="org.apache.activemq.artemis.core.server" level="INFO" />

to file "logback.xml" in our project.

Derek

On 14 January 2016 at 15:00, Derek Mahar <derek.mahar@gmail.com> 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 <logger> (
> 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 <clebert.suconic@gmail.com>
> 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 <derek.mahar@gmail.com>
>> 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
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message