diff --git a/demo/XidynDemo.java b/demo/XidynDemo.java index 03dc085..8279a72 100644 --- a/demo/XidynDemo.java +++ b/demo/XidynDemo.java @@ -2,9 +2,11 @@ * XidDemo */ -import fr.devinsy.xidyn.TagDataManager; +import org.apache.log4j.Level; + import fr.devinsy.xidyn.SimpleTagData; import fr.devinsy.xidyn.StringPresenter; +import fr.devinsy.xidyn.TagDataManager; /** * @@ -16,9 +18,10 @@ class XidynDemo // Initialize logger. org.apache.log4j.BasicConfigurator.configure(); - org.apache.log4j.Logger log = null; - log = org.apache.log4j.Logger.getRootLogger(); - log = org.apache.log4j.Logger.getLogger(XidynDemo.class); + org.apache.log4j.Logger logger = null; + logger = org.apache.log4j.Logger.getRootLogger(); + logger.setLevel(Level.INFO); + logger = org.apache.log4j.Logger.getLogger(XidynDemo.class); } /**