Fixed the logging not being formatted properly.