https://issues.apache.org/bugzilla/show_bug.cgi?id=45721





--- Comment #5 from Curt Arnold <[EMAIL PROTECTED]>  2008-09-02 08:05:09 PST ---
How do JVMs format stack traces for non-english locales?  Do they start with
"at" as the implementation requires.

I'd be surprised if this didn't break the unit tests, at least if the tests
were running against a log4j.jar.

The desired behavior could be configurable if it were moved into PatternLayout
or better, EnhancedPatternLayout.  Currently both of those return true for
ignoreThrowable which delegates the stack trace formatting to the
WriterAppender and ThrowableInformation.   When configured for the enhanced
stack trace, the layout would return false and format the stack trace itself.  
If moved into EnhancedPatternLayout, the implementation could use the JDK 1.4
Throwable.getStackTrace method and avoid attempting to parse the
printStackTrace output since extras requires JDK 1.4 or later.  Could add a
stackTrace property to EnhancedPatternLayout with values: none, default and
enhanced.

As for JVM implementation, you could bounce the idea off
[EMAIL PROTECTED] and see their thoughts.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to