Added logMessage for complete.