This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-i18n.git


The following commit(s) were added to refs/heads/master by this push:
     new 8072e5a  Remove dependency to outdated log4j
8072e5a is described below

commit 8072e5a23640f86696dddc4fb16fbed44af6fbfb
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Fri Feb 10 13:18:44 2023 +0100

    Remove dependency to outdated log4j
---
 .gitignore                          |  1 +
 pom.xml                             | 14 --------------
 src/test/resources/log4j.properties | 25 -------------------------
 3 files changed, 1 insertion(+), 39 deletions(-)

diff --git a/.gitignore b/.gitignore
index 5b783ed..9804514 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@
 .project
 .settings
 .externalToolBuilders
+.vscode
 maven-eclipse.xml
 *.swp
 *.iml
diff --git a/pom.xml b/pom.xml
index 79d2870..1cb133a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -267,20 +267,6 @@
                 </exclusion>
             </exclusions>
         </dependency>
-        <!-- using log4j under slf4j to allow fine-grained logging config (see 
src/test/resources/log4j.properties) -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>1.7.6</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>1.2.17</version>
-            <scope>test</scope>
-        </dependency>
-        <!-- testing -->
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
diff --git a/src/test/resources/log4j.properties 
b/src/test/resources/log4j.properties
deleted file mode 100644
index 87409e2..0000000
--- a/src/test/resources/log4j.properties
+++ /dev/null
@@ -1,25 +0,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.
-
-log4j.rootLogger=WARN, stdout
-
-log4j.logger.org.apache.sling.i18n=DEBUG
-
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-#log4j.appender.stdout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* 
[%t] %c{1}: %m (%F, line %L)\n
-log4j.appender.stdout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* 
[%t] %c{1}: %m\n

Reply via email to