From 0d49c41b38a2aeddd4a7380d334aafc1f2569648 Mon Sep 17 00:00:00 2001 From: "sha..rd" Date: Wed, 20 Apr 2011 16:35:10 +0000 Subject: [PATCH] * Remove messed up logging setup git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/desktop/com/jme3/system/JmeSystem.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/engine/src/desktop/com/jme3/system/JmeSystem.java b/engine/src/desktop/com/jme3/system/JmeSystem.java index 752ab2907..f0b319118 100644 --- a/engine/src/desktop/com/jme3/system/JmeSystem.java +++ b/engine/src/desktop/com/jme3/system/JmeSystem.java @@ -338,19 +338,16 @@ public class JmeSystem { // can only modify logging settings // if permissions are available - JmeFormatter formatter = new JmeFormatter(); +// JmeFormatter formatter = new JmeFormatter(); // Handler fileHandler = new FileHandler("jme.log"); // fileHandler.setFormatter(formatter); // Logger.getLogger("").addHandler(fileHandler); - Handler consoleHandler = new ConsoleHandler(); - consoleHandler.setFormatter(formatter); - Logger.getLogger("com.jme3").removeHandler(Logger.getLogger("").getHandlers()[0]); - Logger.getLogger("jme3tools").removeHandler(Logger.getLogger("").getHandlers()[0]); - Logger.getLogger("com.jme3").addHandler(consoleHandler); - Logger.getLogger("jme3tools").addHandler(consoleHandler); +// Handler consoleHandler = new ConsoleHandler(); +// consoleHandler.setFormatter(formatter); -// Logger.getLogger("com.jme3").setLevel(Level.FINEST); +// Logger.getLogger("").removeHandler(Logger.getLogger("").getHandlers()[0]); +// Logger.getLogger("").addHandler(consoleHandler); } // } catch (IOException ex){ // logger.log(Level.SEVERE, "I/O Error while creating log file", ex);