Disable com.jme3.bullet.control.BetterCharacterControl "log spam"

Hello everyone,
one thing that is really unnerving for the logs as well as for the visual server console which displays the log are these messages:
INFORMATION: Zero left for left (0.0, 0.0, -0.0), up (-0.0, 1.0, -0.0) Feb 01, 2016 4:23:08 PM com.jme3.bullet.control.BetterCharacterControl calculateNewForward
Is there any way to change the level of only that logger to WARNING?
This seems to be working:
Logger.getLogger("com.jme3.bullet.control.BetterCharacterControl").setLevel(Level.WARNING);
But when I build the jar, it just doesn’t work anymore. Any ideas for this?
Sorry if it is a noobish question. :wink:

I had the same problem, though I use BetterCharacterControl.class.getName() and execute that after the simpleInit method.

If you’d use it in your update loop, would that work?
It seemed to me that someone is setting that Level to Information again

Java’s crappy built in logging is SUPER aggressive about GCing itself and losing its settings.

If you want to manually set a log level like you are then it’s best to keep a reference to the logger around… as a static or instance field of your class, say.

1 Like

Hey,
I have the same problem. Is there a solution for this problem already ?
I would be very thankful if somebody could help me with that :blush:

EDIT:
I FIXED IT
The problem was the viewDirection. it was set to (0,0,0). I forgot to update it for the other Players (I am making a multiplayer). For the own player it worked always fine.

Hopefully I could help some people with that !!!