Merge "Avoid processing log event when there is no uid field."