You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/09 17:31:00 UTC

[jira] [Commented] (ARTEMIS-1594) Artemis excessively logs "AMQ222165: No Dead Letter Address" and "AMQ222166: No Expiry Address"

    [ https://issues.apache.org/jira/browse/ARTEMIS-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16318779#comment-16318779 ] 

ASF GitHub Bot commented on ARTEMIS-1594:
-----------------------------------------

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1763

    ARTEMIS-1594 don't log dlq/expiry warn for internal q

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-1594

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1763.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1763
    
----
commit 373a19aedd7adf8c9eb29392a90bac7c3c40894e
Author: Justin Bertram <jb...@...>
Date:   2018-01-09T17:29:33Z

    ARTEMIS-1594 don't log dlq/expiry warn for internal q

----


> Artemis excessively logs "AMQ222165: No Dead Letter Address" and "AMQ222166: No Expiry Address"
> -----------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1594
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1594
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>         Environment: Artemis 2.5.0-SNAPSHOT
>            Reporter: Johan Stenberg
>            Priority: Minor
>         Attachments: ArtemisTest.java
>
>
> # When starting clustered Artemis instances the following Warnings are logged:
> {noformat}
> Jan 09, 2018 12:53:00 PM org.apache.activemq.artemis.core.server.impl.QueueImpl checkDeadLetterAddressAndExpiryAddress
> WARN: AMQ222165: No Dead Letter Address configured for queue $.artemis.internal.sf.cluster.a46132db-f533-11e7-ae3c-54524514640f in AddressSettings
> Jan 09, 2018 12:53:00 PM org.apache.activemq.artemis.core.server.impl.QueueImpl checkDeadLetterAddressAndExpiryAddress
> WARN: AMQ222166: No Expiry Address configured for queue $.artemis.internal.sf.cluster.a46132db-f533-11e7-ae3c-54524514640f in AddressSettings
> Jan 09, 2018 12:53:01 PM org.apache.activemq.artemis.core.server.impl.QueueImpl checkDeadLetterAddressAndExpiryAddress
> WARN: AMQ222165: No Dead Letter Address configured for queue $.artemis.internal.sf.cluster.a401d4c7-f533-11e7-ae3c-54524514640f in AddressSettings
> Jan 09, 2018 12:53:01 PM org.apache.activemq.artemis.core.server.impl.QueueImpl checkDeadLetterAddressAndExpiryAddress
> WARN: AMQ222166: No Expiry Address configured for queue $.artemis.internal.sf.cluster.a401d4c7-f533-11e7-ae3c-54524514640f in AddressSettings
> Jan 09, 2018 12:53:01 PM org.apache.activemq.artemis.core.server.impl.QueueImpl checkDeadLetterAddressAndExpiryAddress
> WARN: AMQ222165: No Dead Letter Address configured for queue notif.a4c7e3f8-f533-11e7-ae3c-54524514640f.ActiveMQServerImpl_serverUUID=a401d4c7-f533-11e7-ae3c-54524514640f in AddressSettings
> Jan 09, 2018 12:53:01 PM org.apache.activemq.artemis.core.server.impl.QueueImpl checkDeadLetterAddressAndExpiryAddress
> WARN: AMQ222165: No Dead Letter Address configured for queue notif.a4c7e3f7-f533-11e7-ae3c-54524514640f.ActiveMQServerImpl_serverUUID=a46132db-f533-11e7-ae3c-54524514640f in AddressSettings
> Jan 09, 2018 12:53:01 PM org.apache.activemq.artemis.core.server.impl.QueueImpl checkDeadLetterAddressAndExpiryAddress
> WARN: AMQ222166: No Expiry Address configured for queue notif.a4c7e3f8-f533-11e7-ae3c-54524514640f.ActiveMQServerImpl_serverUUID=a401d4c7-f533-11e7-ae3c-54524514640f in AddressSettings
> Jan 09, 2018 12:53:01 PM org.apache.activemq.artemis.core.server.impl.QueueImpl checkDeadLetterAddressAndExpiryAddress
> WARN: AMQ222166: No Expiry Address configured for queue notif.a4c7e3f7-f533-11e7-ae3c-54524514640f.ActiveMQServerImpl_serverUUID=a46132db-f533-11e7-ae3c-54524514640f in AddressSettings
> {noformat}
> Since these are warnings about Artemis internal queues and - I guess - no expiry address and no DLQ are configured on purpose, they have no value to anyone as an Administrator can do nothing about them.
> # Each time a modification of the AddressSettingsRepository is performed the check for ExpiryAddresses and DLQs is performed again on ALL existing queues and the AMQ222165/AMQ222166 warnings are logged again for all queues. In our case when a client logs-in we configure new address settings for this client (like a namespace where that client can create queues freely). So each time a new client logs in on an instance Artemis again logs warnings for all existing queues without expiry address/DLQ.
> Therefore I would suggest:
> # for Artemis internal queues these warnings should not be logged at all or at debug level
> # for custom queues the warning should only be logged once on creation and not on each a modification of the AddressSettingsRepository occurs



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)