From 89ffe6dd9093390ff144b015a57edc47a908a238 Mon Sep 17 00:00:00 2001 From: Gleimar Botelho Baleeiro Date: Tue, 21 Nov 2023 18:52:30 -0300 Subject: [PATCH] =?UTF-8?q?Rollback=20atualiza=C3=A7=C3=A3o=20do=20log4j?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 34 ++++--------------- .../rjconsultores/ventaboletos/FlyWay.java | 6 ++-- 2 files changed, 8 insertions(+), 32 deletions(-) diff --git a/pom.xml b/pom.xml index cafdf8ea5..729da4e78 100644 --- a/pom.xml +++ b/pom.xml @@ -1,10 +1,10 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 br.com.rjconsultores Flyway - 1.20.0 + 1.21.0 @@ -54,31 +54,9 @@ - org.apache.logging.log4j - log4j-core - 2.21.1 - - - org.apache.logging.log4j - log4j-api - 2.21.1 - - - org.apache.logging.log4j - log4j-slf4j-impl - 2.21.1 - test - - - org.apache.logging.log4j - log4j-1.2-api - 2.21.1 - test - - - org.apache.logging.log4j - log4j-jcl - 2.21.1 + log4j + log4j + 1.2.12 @@ -102,4 +80,4 @@ - + \ No newline at end of file diff --git a/src/com/rjconsultores/ventaboletos/FlyWay.java b/src/com/rjconsultores/ventaboletos/FlyWay.java index 52a47f605..8c472b349 100644 --- a/src/com/rjconsultores/ventaboletos/FlyWay.java +++ b/src/com/rjconsultores/ventaboletos/FlyWay.java @@ -18,16 +18,14 @@ import java.util.Map; import javax.sql.DataSource; - -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; +import org.apache.log4j.Logger; import org.flywaydb.core.Flyway; import org.flywaydb.core.api.callback.FlywayCallback; import com.rjconsultores.ventaboletos.vo.FlyWayCustomDetail; public class FlyWay { - private static final Logger log = LogManager.getLogger(FlyWay.class); + private static final Logger log = Logger.getLogger(FlyWay.class); private static final FlyWay INSTANCE = new FlyWay();