Fix broken log messages.