Skip to content

Commit 229c3a3

Browse files
Comment modified in alll three apenders
1 parent 6a94f18 commit 229c3a3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/com/splunk/logging/HttpEventCollectorLog4jAppender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public static HttpEventCollectorLog4jAppender createAppender(
242242
public void append(final LogEvent event)
243243
{
244244
boolean isExceptionThrown = false;
245-
// Wrapping exception throws in a map to showcase exception details in events.
245+
// Exception thrown in application is wrapped with relevant information instead of just a message.
246246
Map<String, String> exceptionDetailMap = new LinkedHashMap<>();
247247
if (event.getThrown() != null) {
248248
Throwable throwable = event.getThrown();

src/main/java/com/splunk/logging/HttpEventCollectorLogbackAppender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private void sendEvent(ILoggingEvent event) {
157157
event.getCallerData();
158158
}
159159

160-
// Wrapping exception throws in a map to showcase exception details in events.
160+
// Exception thrown in application is wrapped with relevant information instead of just a message.
161161
Map<Object, Object> exceptionDetailMap = new LinkedHashMap<>();
162162
if (event.getThrowableProxy() != null) {
163163
StackTraceElementProxy[] elements = event.getThrowableProxy().getStackTraceElementProxyArray();

src/main/java/com/splunk/logging/HttpEventCollectorLoggingHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public HttpEventCollectorLoggingHandler() {
240240
@Override
241241
public void publish(LogRecord record) {
242242

243-
// Wrapping exception throws in a map to showcase exception details in events.
243+
// Exception thrown in application is wrapped with relevant information instead of just a message.
244244
Map<Object, Object> exceptionDetailMap = new LinkedHashMap<>();
245245
if (record.getThrown() != null) {
246246
StackTraceElement[] elements = record.getThrown().getStackTrace();

0 commit comments

Comments
 (0)