Hello, from "Converting to the Log4j 2 API": Calls to org.apache.log4j.Logger.setLevel() or similar methods are not supported in the API. Applications should remove these.
Could imagine the reason, checking getLevel() is final, so it's quick. But, when you have in your program your good old fixed static Logger log, it's often helpful to toggle its logger level at runtime, when the method that should be investigated is reached in the code or in the debugger ... enable DEBUG output and disable it again ... Am I missing something? Nobody else missing this feature? :-) Thanx Merten
