how to disable com.jme.util.resource.ResourceLocatorTool?

the question above and. How the hell it know that im pre-loading a texture for instance!!! i never called it! at least i think i haven't… anyways, things works even if it spam "WARNING: I HAZ NOT FOUND THIS: c:\this". so i want to try to disable it

you can't disable it, its used internally to load textures.

and there is a way to disable its warnings without disabling the whole logging system?

set the correct path or

Logger.getLogger(ResourceLocatorTool.class.getName()).setLevel(Level.OFF);

Core-Dump said:

set the correct path or

Logger.getLogger(ResourceLocatorTool.class.getName()).setLevel(Level.OFF);




Changing logging levels can be done declaratively.  There's no reason to change your program.  In your logging.properties file, set:


com.jme.util.resource.ResourceLocatorTool.level = OFF


See http://www.jmonkeyengine.com/wiki/doku.php?id=logging_system about where your logging properties file is.
Core-Dump said:

you can't disable it, its used internally to load textures.


I'm not saying whether you should do it, which requires more knowledge of your design and goals than I want to know, but you can certainly override any and all behavior of this class by making your own copy of ResourceLocatorTool.java with the same fully qualified class name, and ensuring that your modified class is earlier in the runtime classpath than the jME-supplied one is (which is typically loaded from jme.jar).