jvz opened a new pull request, #3867:
URL: https://github.com/apache/logging-log4j2/pull/3867

   * Adjust GcpLayout JSON to latest format
   
   First, it formats the log timestamp field to the correct format recognized 
by Fluent-Bit (component of Google Cloud Logging) and Google Ops Agent.
   
   Secondly, severity field now must be prefixed with logging.googleapis.com.
   
   Third, counter cannot be used for insertId as it is duplicated on different 
threads.
   
   And the last but not the least, exception, thread and logger fields are 
pretty standard when logging via Logback's JSON layout and Google's Spring GCP 
libraries. Field name changes now match these other loggers.
   
   * revert severity changes, remove insertId
   
   * Remove insertid from tests
   
   * fix spotless error
   
   * Switch exception field to use exception resolver
   
   * try to fix timestamp tests
   
   * Fix tests with empty exceptions
   
   * Add changelog
   
   * Improve changelog.
   
   ---------
   
   Cherry pick of https://github.com/apache/logging-log4j2/pull/3586 to 3.x.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to