[Geoserver-devel] [JIRA] (GEOS-9734) Some classes use org.apache.log4j.Logger instead of org.geotools.util.logging.Logging.getLogger()

Gabriel Roldan created an issue

GeoServer / ImprovementGEOS-9734

Some classes use org.apache.log4j.Logger instead of org.geotools.util.logging.Logging.getLogger()

Issue Type:

ImprovementImprovement

Assignee:

Gabriel Roldan

Created:

10/Sep/20 7:59 PM

Priority:

MediumMedium

Reporter:

Gabriel Roldan

Besides org.geoserver.logging.LoggingUtils, no class should be using org.apache.log4j.Logger directly, but the prescribed way of getting a logger through org.geotools.util.logging.Logging.getLogger().

The following classes should be adapted:

grep org.apache.log4j.Logger -Rl --include=*.java
main/src/main/java/org/geoserver/logging/LoggingUtils.java
main/src/test/java/org/geoserver/logging/LoggingStartupContextListenerTest.java
wms/src/main/java/org/geoserver/wms/featureinfo/FreemarkerStaticsAccessRule.java
wms/src/main/java/org/geoserver/wms/featureinfo/FreeMarkerTemplateManager.java
wms/src/test/java/org/geoserver/wms/wms_1_1_1/GetMapIntegrationTest.java
extension/feature-pregeneralized/src/main/java/org/geoserver/data/gen/DSFinderRepository.java
extension/wps/wps-core/src/test/java/org/geoserver/wps/gs/UniqueProcessTest.java
extension/app-schema/app-schema-test/src/test/java/org/geoserver/test/onlineTest/support/AbstractReferenceDataSetup.java

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100145-sha1:e729c42)

Atlassian logo