logback: log stack trace#2765
Conversation
Fixes #2735.
| private LogEntry logEntryFor(ILoggingEvent e) { | ||
| String payload = e.getFormattedMessage(); | ||
| StringBuilder payload = new StringBuilder(e.getFormattedMessage()); | ||
| for (StackTraceElement stackEl : e.getCallerData()) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| private LogEntry logEntryFor(ILoggingEvent e) { | ||
| String payload = e.getFormattedMessage(); | ||
| StringBuilder payload = new StringBuilder(e.getFormattedMessage()); | ||
| for (StackTraceElement stackEl : e.getCallerData()) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@jabubake I'm sorry. Looking at this closer, I don't think this is right. The |
|
|
|
@garrettjonesgoogle @jabubake PTAL. I think this actually works now :) |
garrettjonesgoogle
left a comment
There was a problem hiding this comment.
LGTM with minor suggestion
| return builder.build(); | ||
| } | ||
|
|
||
| @InternalApi |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| .append(": ") | ||
| .append(throwProxy.getMessage()) | ||
| .append('\n'); | ||
| StackTraceElementProxy[] trace = throwProxy.getStackTraceElementProxyArray(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
#2765) * chore: Update generation configuration at Tue Nov 12 02:22:37 UTC 2024 * chore: generate libraries at Tue Nov 12 02:23:19 UTC 2024 * chore: Update generation configuration at Wed Nov 13 02:24:27 UTC 2024
Prevent adding an unavailable error to the queue if the retrying loop is still active. Also, cleanup unused retry config for gRPC ReadObject.
Fixes #2735.