Alex Rudyy created QPID-6689:
--------------------------------

             Summary: [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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to