Gabriel Roldan ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNTNhNWJjMGI4Zjk5NGI2MmIxYjA4Y2JiNzEzODZhZTAiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-9734?atlOrigin=eyJpIjoiNTNhNWJjMGI4Zjk5NGI2MmIxYjA4Y2JiNzEzODZhZTAiLCJwIjoiaiJ9
 ) GEOS-9734 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9734?atlOrigin=eyJpIjoiNTNhNWJjMGI4Zjk5NGI2MmIxYjA4Y2JiNzEzODZhZTAiLCJwIjoiaiJ9
 ) Some classes use org.apache.log4j.Logger instead of 
org.geotools.util.logging.Logging.getLogger() ( 
https://osgeo-org.atlassian.net/browse/GEOS-9734?atlOrigin=eyJpIjoiNTNhNWJjMGI4Zjk5NGI2MmIxYjA4Y2JiNzEzODZhZTAiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Gabriel Roldan ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee
 ) Created: 10/Sep/20 7:59 PM Priority: Medium Reporter: Gabriel Roldan ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee
 )

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

( 
https://osgeo-org.atlassian.net/browse/GEOS-9734#add-comment?atlOrigin=eyJpIjoiNTNhNWJjMGI4Zjk5NGI2MmIxYjA4Y2JiNzEzODZhZTAiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9734#add-comment?atlOrigin=eyJpIjoiNTNhNWJjMGI4Zjk5NGI2MmIxYjA4Y2JiNzEzODZhZTAiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100145- 
sha1:e729c42 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to