Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/server/BaseServlet.java @ 1417:42d6cf6e10b7
Moved code to parse WMS Capabilities to an own class 'CapabilitiesParser' and added code to parse SRS definitions.
flys-client/trunk@3325 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 28 Nov 2011 15:55:26 +0000 |
parents | 2ba44c1b2bab |
children | fba76f4afca9 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/server/BaseServlet.java Wed Nov 23 09:45:22 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/BaseServlet.java Mon Nov 28 15:55:26 2011 +0000 @@ -4,7 +4,6 @@ import javax.servlet.http.HttpServlet; import org.apache.log4j.Logger; -import org.apache.log4j.PropertyConfigurator; public class BaseServlet extends HttpServlet { @@ -37,15 +36,7 @@ } } - if (log4jProperties != null && log4jProperties.length() > 0) { - PropertyConfigurator.configure(log4jProperties); - logger.info("Log4J logging initialized."); - } - else { - System.out.println("Error while setting up Log4J configuration."); - } - - System.out.println("BaseServlet.init finished"); + LoggingConfigurator.init(log4jProperties); } @@ -56,3 +47,4 @@ getServletContext().setAttribute("server-url", url); } } +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :