I try to configure logging programatically. I load the informations from a .properties-file. To configure the logger i call:
final Logger logger = Logger.getLogger(cat);
logger.setLevel(Level.ALL);
logger.log(Level.ALL,"Test");
It prints Test, so this part works. This is the stacktrace inside getLogger:

Later, when the logger will get used, the level is INFO.

It looks like there are different logger contexts. How to merge?