Adjusted the logging to make it nicer