Set logger level to INFO.

This commit is contained in:
Christian P. MOMON 2013-06-26 14:00:04 +02:00
parent 50bf01ce48
commit 0c68f3afc6

View file

@ -2,9 +2,11 @@
* XidDemo * XidDemo
*/ */
import fr.devinsy.xidyn.TagDataManager; import org.apache.log4j.Level;
import fr.devinsy.xidyn.SimpleTagData; import fr.devinsy.xidyn.SimpleTagData;
import fr.devinsy.xidyn.StringPresenter; import fr.devinsy.xidyn.StringPresenter;
import fr.devinsy.xidyn.TagDataManager;
/** /**
* *
@ -16,9 +18,10 @@ class XidynDemo
// Initialize logger. // Initialize logger.
org.apache.log4j.BasicConfigurator.configure(); org.apache.log4j.BasicConfigurator.configure();
org.apache.log4j.Logger log = null; org.apache.log4j.Logger logger = null;
log = org.apache.log4j.Logger.getRootLogger(); logger = org.apache.log4j.Logger.getRootLogger();
log = org.apache.log4j.Logger.getLogger(XidynDemo.class); logger.setLevel(Level.INFO);
logger = org.apache.log4j.Logger.getLogger(XidynDemo.class);
} }
/** /**