From f013712410809b771dbbd1d6be101a25e674fdd3 Mon Sep 17 00:00:00 2001 From: Marcin Date: Thu, 26 Nov 2026 10:56:49 +0100 Subject: [PATCH 1/2] upgrade log4j and slf4j dependencies --- mina-http/src/test/resources/log4j.properties | 25 ++++++++++++++++++ .../src/test/resources/log4j.properties | 25 ++++++++++++++++++ .../src/test/resources/log4j.properties | 25 ++++++++++++++++++ pom.xml | 26 ++++++++++++++----- 4 files changed, 95 insertions(+), 6 deletions(-) create mode 100644 mina-http/src/test/resources/log4j.properties create mode 100644 mina-integration-xbean/src/test/resources/log4j.properties create mode 100644 mina-statemachine/src/test/resources/log4j.properties diff --git a/mina-http/src/test/resources/log4j.properties b/mina-http/src/test/resources/log4j.properties new file mode 100644 index 000000000..06642c9f2 --- /dev/null +++ b/mina-http/src/test/resources/log4j.properties @@ -0,0 +1,25 @@ +############################################################################# +# 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. +############################################################################# +log4j.rootCategory=ERROR, stdout + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n + +log4j.logger.org.apache.mina.filter.ssl.SSLFilter=ERROR +log4j.logger.org.apache.mina.filter.ssl.SSLHandler=ERROR + diff --git a/mina-integration-xbean/src/test/resources/log4j.properties b/mina-integration-xbean/src/test/resources/log4j.properties new file mode 100644 index 000000000..06642c9f2 --- /dev/null +++ b/mina-integration-xbean/src/test/resources/log4j.properties @@ -0,0 +1,25 @@ +############################################################################# +# 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. +############################################################################# +log4j.rootCategory=ERROR, stdout + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n + +log4j.logger.org.apache.mina.filter.ssl.SSLFilter=ERROR +log4j.logger.org.apache.mina.filter.ssl.SSLHandler=ERROR + diff --git a/mina-statemachine/src/test/resources/log4j.properties b/mina-statemachine/src/test/resources/log4j.properties new file mode 100644 index 000000000..06642c9f2 --- /dev/null +++ b/mina-statemachine/src/test/resources/log4j.properties @@ -0,0 +1,25 @@ +############################################################################# +# 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. +############################################################################# +log4j.rootCategory=ERROR, stdout + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n + +log4j.logger.org.apache.mina.filter.ssl.SSLFilter=ERROR +log4j.logger.org.apache.mina.filter.ssl.SSLHandler=ERROR + diff --git a/pom.xml b/pom.xml index 672303ce8..0d2516084 100644 --- a/pom.xml +++ b/pom.xml @@ -149,13 +149,13 @@ 3.8.0.GA 4.13.2 1.1.3 - 1.2.17 + 2.26.1 5.24.0 3.4.17 7.29.0 - 1.7.36 - 1.7.36 - 1.7.36 + 2.0.20 + 2.0.20 + 2.0.20 7.1.0 2.5.6.SEC03 10.0.27 @@ -331,9 +331,23 @@ - log4j - log4j + org.apache.logging.log4j + log4j-api + test + + + + org.apache.logging.log4j + log4j-core + ${version.log4j} + test + + + + org.apache.logging.log4j + log4j-slf4j-impl ${version.log4j} + test From 44383435b4e2f7974170c585bd5ba9c775826d6d Mon Sep 17 00:00:00 2001 From: Marcin Date: Thu, 26 Nov 2026 14:51:50 +0100 Subject: [PATCH 2/2] upgrade log4j and slf4j dependencies --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 0d2516084..6ba85a17d 100644 --- a/pom.xml +++ b/pom.xml @@ -333,6 +333,7 @@ org.apache.logging.log4j log4j-api + ${version.log4j} test