Added a better log message to the generic algorithm