From 0c68f3afc6b351e75bf9202e3725c29776c993a2 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 26 Jun 2013 14:00:04 +0200 Subject: [PATCH] Set logger level to INFO. --- demo/XidynDemo.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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); } /**