You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2014/09/29 09:45:57 UTC

[Bug 57036] New: No Stacktrace available on Socketserver

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-dev@logging.apache.org
          Reporter: github@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.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org