In a message of Wed, 02 Sep 2015 12:14:44 +0200, Antoon Pardon writes: See: https://docs.python.org/3.5/library/logging.html#levels you can just use 30 everywhere for warning, and that is what Logger.getEffectiveLevel() will tell you even if you initialised it with the text form. Laura