diff --git a/engine/src/android/com/jme3/system/android/JmeAndroidSystem.java b/engine/src/android/com/jme3/system/android/JmeAndroidSystem.java index e37672675..aab6a2b7c 100644 --- a/engine/src/android/com/jme3/system/android/JmeAndroidSystem.java +++ b/engine/src/android/com/jme3/system/android/JmeAndroidSystem.java @@ -143,7 +143,7 @@ public class JmeAndroidSystem extends JmeSystemDelegate { } catch (SecurityException ex) { logger.log(Level.SEVERE, "Security error in creating log file", ex); } - logger.log(Level.FINE, "Running on {0}", getFullName()); + logger.log(Level.INFO, "Running on {0}", getFullName()); } @Override diff --git a/engine/src/android/com/jme3/system/android/OGLESContext.java b/engine/src/android/com/jme3/system/android/OGLESContext.java index 66c6ba962..876746024 100644 --- a/engine/src/android/com/jme3/system/android/OGLESContext.java +++ b/engine/src/android/com/jme3/system/android/OGLESContext.java @@ -131,7 +131,7 @@ public class OGLESContext implements JmeContext, GLSurfaceView.Renderer, SoftTex int[] version = new int[2]; if (egl.eglInitialize(display, version) == true) { - logger.log(Level.CONFIG, "Display EGL Version: {0}.{1}", new Object[]{version[0], version[1]}); + logger.log(Level.INFO, "Display EGL Version: {0}.{1}", new Object[]{version[0], version[1]}); } try { diff --git a/engine/src/core/com/jme3/system/JmeSystem.java b/engine/src/core/com/jme3/system/JmeSystem.java index c717413bc..b0b4ce729 100644 --- a/engine/src/core/com/jme3/system/JmeSystem.java +++ b/engine/src/core/com/jme3/system/JmeSystem.java @@ -47,6 +47,7 @@ import java.util.logging.Logger; public class JmeSystem { + private static final Logger logger = Logger.getLogger(JmeSystem.class.getName()); public static enum StorageFolderType { Internal, External, diff --git a/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java b/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java index 69b44fc84..7bcd1c261 100644 --- a/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java +++ b/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java @@ -305,7 +305,7 @@ public class JmeDesktopSystem extends JmeSystemDelegate { } catch (SecurityException ex) { logger.log(Level.SEVERE, "Security error in creating log file", ex); } - logger.log(Level.FINE, "Running on {0}", getFullName()); + logger.log(Level.INFO, "Running on {0}", getFullName()); if (!lowPermissions) { try { diff --git a/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglContext.java b/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglContext.java index 105f965ee..fe145b43b 100644 --- a/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglContext.java +++ b/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglContext.java @@ -41,6 +41,7 @@ import com.jme3.renderer.lwjgl.LwjglGL1Renderer; import com.jme3.renderer.lwjgl.LwjglRenderer; import com.jme3.system.AppSettings; import com.jme3.system.JmeContext; +import com.jme3.system.JmeSystem; import com.jme3.system.SystemListener; import com.jme3.system.Timer; import java.util.concurrent.atomic.AtomicBoolean; @@ -73,23 +74,23 @@ public abstract class LwjglContext implements JmeContext { } protected void printContextInitInfo(){ - logger.log(Level.FINE, "Running on thread: {0}", Thread.currentThread().getName()); + logger.log(Level.INFO, "Lwjgl context running on thread {1}", Thread.currentThread().getName()); - logger.log(Level.CONFIG, "Adapter: {0}", Display.getAdapter()); - logger.log(Level.CONFIG, "Driver Version: {0}", Display.getVersion()); + logger.log(Level.INFO, "Adapter: {0}", Display.getAdapter()); + logger.log(Level.INFO, "Driver Version: {0}", Display.getVersion()); String vendor = GL11.glGetString(GL11.GL_VENDOR); - logger.log(Level.CONFIG, "Vendor: {0}", vendor); + logger.log(Level.INFO, "Vendor: {0}", vendor); String version = GL11.glGetString(GL11.GL_VERSION); - logger.log(Level.CONFIG, "OpenGL Version: {0}", version); + logger.log(Level.INFO, "OpenGL Version: {0}", version); String renderGl = GL11.glGetString(GL11.GL_RENDERER); - logger.log(Level.CONFIG, "Renderer: {0}", renderGl); + logger.log(Level.INFO, "Renderer: {0}", renderGl); if (GLContext.getCapabilities().OpenGL20){ String shadingLang = GL11.glGetString(GL20.GL_SHADING_LANGUAGE_VERSION); - logger.log(Level.FINE, "GLSL Ver: {0}", shadingLang); + logger.log(Level.INFO, "GLSL Ver: {0}", shadingLang); } }