This is an automated email from the ASF dual-hosted git repository.
vavrtom pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
The following commit(s) were added to refs/heads/main by this push:
new 41a3c301a0 QPID-8660 Fix Logback logging disabled by inclusion of
qpid-broker as a dependency (#226)
41a3c301a0 is described below
commit 41a3c301a048e20c109c1cf9936092e6223a5425
Author: Adrian Pasternak <[email protected]>
AuthorDate: Wed Nov 8 13:47:31 2023 +0100
QPID-8660 Fix Logback logging disabled by inclusion of qpid-broker as a
dependency (#226)
* QPID-8660 Fix Logback logging disabled by inclusion of qpid-broker as a
dependency
* Added newline to end of logback.xml
---------
Co-authored-by: vavrtom <[email protected]>
---
.../server/logging/logback/NoopConfigurator.java | 2 +-
.../logging-logback/src/main/resources/logback.xml | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git
a/broker-plugins/logging-logback/src/main/java/org/apache/qpid/server/logging/logback/NoopConfigurator.java
b/broker-plugins/logging-logback/src/main/java/org/apache/qpid/server/logging/logback/NoopConfigurator.java
index b4f6f18b28..9929f7f10c 100644
---
a/broker-plugins/logging-logback/src/main/java/org/apache/qpid/server/logging/logback/NoopConfigurator.java
+++
b/broker-plugins/logging-logback/src/main/java/org/apache/qpid/server/logging/logback/NoopConfigurator.java
@@ -30,6 +30,6 @@ public class NoopConfigurator extends ContextAwareBase
implements Configurator
public ExecutionStatus configure(LoggerContext loggerContext)
{
// no-op
- return ExecutionStatus.DO_NOT_INVOKE_NEXT_IF_ANY;
+ return ExecutionStatus.NEUTRAL;
}
}
diff --git a/broker-plugins/logging-logback/src/main/resources/logback.xml
b/broker-plugins/logging-logback/src/main/resources/logback.xml
new file mode 100644
index 0000000000..282830d5d0
--- /dev/null
+++ b/broker-plugins/logging-logback/src/main/resources/logback.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<configuration/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]