Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/CapabilitiesParser.java @ 9724:654aaa0d7576 3.2.x
Rely on log4j's default initialization procedure
This should make upgrading to Log4j 2.x easier.
In passing, use latest Log4j 1.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 25 Feb 2022 17:13:49 +0100 |
parents | 5e38e2924c07 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
9723:de83690667fe | 9724:654aaa0d7576 |
---|---|
109 } | 109 } |
110 | 110 |
111 | 111 |
112 public static void main(String[] args) { | 112 public static void main(String[] args) { |
113 log.info("Do static Capabilities request/parsing."); | 113 log.info("Do static Capabilities request/parsing."); |
114 | |
115 String log4jProperties = System.getenv( | |
116 BaseServletContextListener.LOG4J_PROPERTIES); | |
117 LoggingConfigurator.init(log4jProperties); | |
118 | 114 |
119 try { | 115 try { |
120 String wmsURL = System.getProperty("test.wms"); | 116 String wmsURL = System.getProperty("test.wms"); |
121 if (wmsURL == null || args.length > 0) { | 117 if (wmsURL == null || args.length > 0) { |
122 wmsURL = args[0]; | 118 wmsURL = args[0]; |