From bda4b67c0dd117d87c0ba93808afc7b63c84e22b Mon Sep 17 00:00:00 2001 From: endolf Date: Wed, 23 Mar 2011 18:54:48 +0000 Subject: Reduce the logging during normal running. git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@245 e343933a-64c8-49c5-92b1-88f2ce3e89e8 --- .../src/java/net/java/games/input/DefaultControllerEnvironment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java b/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java index 833fe6f..431a9ff 100644 --- a/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java +++ b/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java @@ -143,10 +143,10 @@ class DefaultControllerEnvironment extends ControllerEnvironment { pluginClasses = pluginClasses + " net.java.games.input.DirectInputEnvironmentPlugin"; } else if (osName.startsWith("Windows")) { log.warning("Found unknown Windows version: " + osName); - log.info("Attempting to use default windows plug-in."); + log.warning("Attempting to use default windows plug-in."); pluginClasses = pluginClasses + " net.java.games.input.DirectAndRawInputEnvironmentPlugin"; } else { - log.info("Trying to use default plugin, OS name " + osName +" not recognised"); + log.warning("Trying to use default plugin, OS name " + osName +" not recognised"); } } @@ -155,7 +155,7 @@ class DefaultControllerEnvironment extends ControllerEnvironment { String className = pluginClassTok.nextToken(); try { if(!loadedPlugins.contains(className)) { - log.info("Loading: " + className); + log.fine("Loading: " + className); Class ceClass = Class.forName(className); ControllerEnvironment ce = (ControllerEnvironment) ceClass.newInstance(); if(ce.isSupported()) { -- cgit v1.2.3