Configured logger to rotate and added some info and debug level on the view