Set logger level to INFO.
This commit is contained in:
parent
50bf01ce48
commit
0c68f3afc6
1 changed files with 7 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue