Log4j Debugging

Stupid me.

For several ages I have been wondering how to get rid of the stupid debug output of log4j. I was looking for hints all over the place. Nobody could tell me.

Today the debug output annoyed me again.

I thought: “One last time I’ll try to get rid of this.”

I am configuring my log4j stuff with slightly modified copies of one original xml file. I just noticed that

<log4j:configuration debug="true" xmlns:log4j="http://jakarta.apache.org/log4j/">

contains that stupid debug flag. What a surprise: there is no debug output after removing that flag.