Fixed setting of debug logger