From 87e7d8df2f006402e4df74b754ee2e7ca4c5fd9a Mon Sep 17 00:00:00 2001 From: endolf Date: Wed, 23 Mar 2011 18:54:48 +0000 Subject: [PATCH] Reduce the logging during normal running. --- .../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()) {