Fixed log strings not being formatted.