Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log4j 1.2 completely removed, bump to log4j 2.16.0 #233

Merged
merged 2 commits into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.]]>
<date>${maven.build.timestamp}</date>
<roo.version>1.3.2.RELEASE</roo.version>
<slf4j.version>1.7.5</slf4j.version>
<log4j.version>2.16.0</log4j.version>
<spring.version>3.2.11.RELEASE</spring.version>
<querydsl.version>3.4.3</querydsl.version>
<spring-security.version>3.2.5.RELEASE</spring-security.version>
Expand Down Expand Up @@ -163,12 +164,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.]]>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.15.0</version>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.15.0</version>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand All @@ -181,9 +182,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.]]>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
Expand Down Expand Up @@ -580,6 +581,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.]]>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-inchi</artifactId>
<version>${cdk.version}</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
Expand Down
19 changes: 0 additions & 19 deletions src/main/resources/log4j.properties

This file was deleted.

19 changes: 19 additions & 0 deletions src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%d{dd MMM yyyy HH:mm:ss} %-4r [%t] %-5p %c %x - %m%n"/>
</Console>
</Appenders>
<Loggers>
<Logger name="com.labsynch.labseer" level="info"/>
<Logger name="com.mangofactory.swagger" level="error"/>
<Logger name="org.springframework" level="info"/>
<Logger name="org.springframework.orm" level="info"/>
<Logger name="org.springframework.security" level="info"/>
<Logger name="org.springframework.web" level="info"/>
<Root level="info">
<AppenderRef ref="STDOUT"/>
</Root>
</Loggers>
</Configuration>