Merge "Only create LogEvent copy if needed" into main