Enabling debug output based on logger settings.