Discussion:
[Bug 57036] New: No Stacktrace available on Socketserver
b***@apache.org
2014-09-29 07:45:57 UTC
Permalink
https://issues.apache.org/bugzilla/show_bug.cgi?id=57036

Bug ID: 57036
Summary: No Stacktrace available on Socketserver
Product: Log4j
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Appender
Assignee: log4j-***@logging.apache.org
Reporter: ***@kroe.gr

Hi,

I'm using Log4j 2.0.2 and a Socketserver for writing logfiles.
I've found out, that in the Method format(final LogEvent event, final
StringBuilder toAppendTo) in
org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter writing
the Stacktrace in the logfile on condition that the Throwable throwable from
org.apache.logging.log4j.core.impl.Log4jLogEvent is not null, but on the
Socketserver the Throwable throwable is always null, because it's defined as
transient.

In org.apache.logging.log4j.core.layout.PatternLayout the classvariable
alwaysWriteExceptions is true.

Do you need more information like configuration or something else? Please let
my know.

Best regards,
Andree
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...