Cleanup of log source control