Controller logger fix