Fixed a log formatting bug