Fixing log message formatting.