Another question…
Is there a possibility to disable the monkey writing those infos to the console?
I mean this infos…
18.04.2007 12:58:59 com.jme.scene.Node <init>
INFO: Node created.
18.04.2007 12:58:59 com.jme.app.BaseGame start
INFO: Application started.
thx
Imm0
LoggingSystem.getLoggingSystem().loggerOn(false);
or
LoggingSystem.getLogger().setLevel(Level.OFF); // which is what the method above actually does
Sorry for that resurrection, but is it doable with jME3?
LoggingSystem isn’t recognized.
JME3 uses java loggers i guess you can use :
Logger.getLogger("").setLevel(Level.SEVERE);
for more info look http://download.oracle.com/javase/1.4.2/docs/guide/util/logging/overview.html
That worked. What I tried previously didn’t work for some reason. Probably too complicated for nothing as usual.
Is there a way to only disable certain messages?
Like disable the binominal creation stuff, but keep the node attach infos ?
The string you give to the command is a package name, so you can use “com.jme3.scene” to disable all log output of those classes.
You can also do Logger.getLogger(TangentBinormalGenerator.class.getName()).setLevel(Level.OFF) to disable just the generator messages. Ideally though you should store the tangents in the model rather than generate them on run-time, as it is a resource-intensive process.