I'm having a weird problem with the logging API. I've tried setting a logger's level below INFO, but it doesn't work. If I set it to SEVERE or OFF, for example, the messages below such level really are ignored; but setting it below INFO doesn't change anything. In this example, just the 2 last lines are printed. Is there some kind of mask somewhere else that I must change? I've searched the documentation and couldn't find anything about it.

Logger logger = Logger.getLogger("");
logger.finest("FINEST message");
logger.finer("FINER message");
logger.fine("FINE message");
logger.info("INFO message");
logger.severe("SEVERE message");

Thank you for your help,