Logging what's going on with the algorithm