(Solved) Logger gets set to SEVERE

I don’t want to see the logs from jME, so I do:

[java]Logger.getLogger( “” ).setLevel( Level.SEVERE );[/java]

Then I want a logger for server things, so i do:

[java]Logger.getLogger( “server” ).setLevel( Level.INFO );[/java]

This all works fine and everything, until doing some jME things, like:

[java]stateManager.attach( new BulletAppState() );

TerrainQuad newTerrain = new TerrainQuad( “Terrain”, 64+1, 512+1, heightmap.getHeightMap() );


The “server” logger then gets the same level as the “” logger.

Why? How can I fix this (besides by putting Logger.getLogger( “server” ).setLevel( Level.INFO ); behind every line that set it to “” 's level) ?

Nevermind, I think I fixed it by changing

[java]Logger.getLogger( "" ).setLevel( Level.SEVERE );[/java]


[java]Logger.getLogger( "com.jme3" ).setLevel( Level.SEVERE );[/java]