This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 65599c7123c3d82644a7b31723bcf9373a9d5723 Author: Pasquale Congiusti <[email protected]> AuthorDate: Thu Oct 23 13:02:52 2025 +0200 fix(ci): exclude non log4j deps --- dsl/camel-endpointdsl/pom.xml | 8 ++++++++ .../{log4j2.properties => log4j2-test.properties} | 17 ++++------------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/dsl/camel-endpointdsl/pom.xml b/dsl/camel-endpointdsl/pom.xml index 940e44fe8554..f149b718424a 100644 --- a/dsl/camel-endpointdsl/pom.xml +++ b/dsl/camel-endpointdsl/pom.xml @@ -107,6 +107,14 @@ <groupId>org.eclipse.jetty.http2</groupId> <artifactId>*</artifactId> </exclusion> + <exclusion> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-to-slf4j</artifactId> + </exclusion> </exclusions> </dependency> <!-- Add it explicitly to prevent parallel build failures --> diff --git a/dsl/camel-endpointdsl/src/test/resources/log4j2.properties b/dsl/camel-endpointdsl/src/test/resources/log4j2-test.properties similarity index 73% rename from dsl/camel-endpointdsl/src/test/resources/log4j2.properties rename to dsl/camel-endpointdsl/src/test/resources/log4j2-test.properties index 7f4dc82041e5..17fd07fb92d1 100644 --- a/dsl/camel-endpointdsl/src/test/resources/log4j2.properties +++ b/dsl/camel-endpointdsl/src/test/resources/log4j2-test.properties @@ -14,24 +14,15 @@ ## See the License for the specific language governing permissions and ## limitations under the License. ## --------------------------------------------------------------------------- -appender.console.type = Console -appender.console.name = console -appender.console.layout.type = PatternLayout -appender.console.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n - appender.file.type = File appender.file.name = file appender.file.fileName = target/camel-endpointdsl-test.log -appender.file.append = true appender.file.layout.type = PatternLayout appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n - -appender.file2.type = File -appender.file2.name = file2 -appender.file2.fileName = target/custom-logger-test.log -appender.file2.append = false -appender.file2.layout.type = PatternLayout -appender.file2.layout.pattern = %-5p %c{1} %m%n +appender.out.type = Console +appender.out.name = out +appender.out.layout.type = PatternLayout +appender.out.layout.pattern = [%30.30t] %-30.30c{1} %-5p %m%n rootLogger.level = INFO rootLogger.appenderRef.file.ref = file
