qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6689) [Java Broker] QpidTurboFilter prevents any log messages from being logged until NameAndLevelFilters are activated
Date Tue, 11 Aug 2015 14:42:45 GMT

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

ASF subversion and git services commented on QPID-6689:
-------------------------------------------------------

Commit 1695312 from orudyy@apache.org in branch 'java/trunk'
[ https://svn.apache.org/r1695312 ]

QPID-6689: Stop registering QpidLoggerTurboFilter on appender registration

> [Java Broker] QpidTurboFilter prevents any log messages from being logged until NameAndLevelFilters
are activated
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6689
>                 URL: https://issues.apache.org/jira/browse/QPID-6689
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>            Priority: Blocker
>             Fix For: qpid-java-6.0
>
>
> logback invokes TurboFilters before ordinary Filters to decide whether log event should
be logged. If TurboFilter denies the event, the log event is not appended.
> Qpid registers QpidTurboFilter which uses log levels set on ordinary Filters  to decide
whether event should be logged or not.  If no ordinary filter is available for the logger,
log level OFF is used and any log event issued before registering ordinary Filters is  ignored.
> In Qpid broker ordinary Filters are registered on activating of NameAndLevelFilters.
Thus, any log event created on Broker startup from resolution phase of BrokerLogger  to attaining
the state by the NameAndLevelFilters are ignored. As result, any resolution, validation or
opening exception thrown before attaining the state by the NameAndLevelFilters is not logged
making it difficult to analyze and investigate the problems caused by misconfiguration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message