GitHub user ppkarwasz added a comment to the discussion: Is using %uuid{RANDOM} 
pattern in JsonTemplateLayout considered garbage-free?

I am not saying that `%uuid` will give the **same** value for **different** log 
events, but that it will give **different** value for the **same** log event if 
they are delivered by different appenders.

GCP says:

>  If you provide a value, then Logging considers other log entries in the same 
> project, with the same timestamp, and with the same `insertId` to be 
> duplicates which are removed in a single query result.

Since each time the same log event is formatted, another UUID is generated, 
every `insertId` will be different and no duplicate events will be merged.

GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3585#discussioncomment-12753158

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org

Reply via email to