Enable logger in the controller