why is this necessary? doesnt the logging framework check this before logging any line that is log.debug?