Fixed log4j class not found error; Updated log4j version
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine 2023-01-25 10:14:50 -05:00
parent 47e8ec4f43
commit f132861cbc
2 changed files with 3 additions and 3 deletions

View File

@ -55,12 +55,12 @@
<dependency> <dependency>
<groupId>org.apache.logging.log4j</groupId> <groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId> <artifactId>log4j-api</artifactId>
<version>2.17.2</version> <version>2.19.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.logging.log4j</groupId> <groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId> <artifactId>log4j-core</artifactId>
<version>2.17.2</version> <version>2.19.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>

View File

@ -4,6 +4,6 @@ import org.apache.logging.log4j.LogManager;
public class Logger { public class Logger {
public static org.apache.logging.log4j.Logger logger = LogManager.getLogger(); public static org.apache.logging.log4j.Logger logger = LogManager.getRootLogger();
} }