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

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

Commit 1695559 from [email protected] in branch 'java/trunk'
[ https://svn.apache.org/r1695559 ]

QPID-6689: Unregister QpidLoggerTurboFilter on broker close

> [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
>    Affects Versions: qpid-java-6.0
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to