Update of /cvsroot/webmacro/webmacro/webmacro/examples
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30233/examples
Modified Files:
CheckConfig.java
Log Message:
Remove logging
Index: CheckConfig.java
===================================================================
RCS file: /cvsroot/webmacro/webmacro/webmacro/examples/CheckConfig.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CheckConfig.java 13 Nov 2008 00:06:34 -0000 1.5
--- CheckConfig.java 24 Feb 2010 21:02:02 -0000 1.6
***************
*** 8,13 ****
import javax.servlet.http.HttpServletRequest;
import org.webmacro.Broker;
- import org.webmacro.Log;
import org.webmacro.Template;
import org.webmacro.servlet.HandlerException;
--- 8,15 ----
import javax.servlet.http.HttpServletRequest;
+ import org.slf4j.Logger;
+ import org.slf4j.LoggerFactory;
+
import org.webmacro.Broker;
import org.webmacro.Template;
import org.webmacro.servlet.HandlerException;
***************
*** 23,30 ****
public class CheckConfig extends WMServlet {
private static final long serialVersionUID = -1844295645621234018L;
final static public boolean DEBUG = true;
final static public String DEFAULT_TEMPLATE = "default.wm";
- private Log _log = null;
public Template handle(WebContext context) throws HandlerException {
--- 25,33 ----
public class CheckConfig extends WMServlet {
private static final long serialVersionUID = -1844295645621234018L;
+
+ static Logger _log = LoggerFactory.getLogger(CheckConfig.class);
final static public boolean DEBUG = true;
final static public String DEFAULT_TEMPLATE = "default.wm";
public Template handle(WebContext context) throws HandlerException {
***************
*** 110,114 ****
// get the log
//_log = org.webmacro.util.LogSystem.getInstance().getLog("WMTest", "WMTest log");
- _log = org.webmacro.util.LogSystem.getInstance().getLog(null);
_log.info(this.getClass().getName() + ".start() invoked.");
} // start()
--- 113,116 ----
|