ppkarwasz commented on code in PR #3586:
URL: https://github.com/apache/logging-log4j2/pull/3586#discussion_r2046397077


##########
log4j-layout-template-json/src/main/resources/GcpLayout.json:
##########
@@ -49,25 +55,15 @@
     "key": "span_id"
   },
   "logging.googleapis.com/trace_sampled": true,
-  "_exception": {
-    "class": {
-      "$resolver": "exception",
-      "field": "className"
-    },
-    "message": {
-      "$resolver": "exception",
-      "field": "message"
-    },
-    "stackTrace": {
-      "$resolver": "pattern",
-      "pattern": "%xEx"
-    }
+  "exception": {
+    "$resolver": "pattern",
+    "pattern": "%xEx"
   },

Review Comment:
   @ViliusS,
   
   Do you have a JIRA account to report this in the [Artemis 
JIRA](https://issues.apache.org/jira/projects/ARTEMIS) or should we report it 
for you? I guess that the correct `toString` should be:
   
   ```
   org.apache.activemq.artemis.api.core.ActiveMQIllegalStateException: 
[errorType=ILLEGAL_STATE message=]
   ```
   
   Probably Artemis itself is relying on `%xEx`, so they'll have a little 
surprise when they upgrade to `2.25.0`, since `%ex` will be the default.



-- 
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