Summary: | SMTPAppender does not output newlines between stack trace lines | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | David D. Kilzer <ddkilzer> |
Component: | Appender | Assignee: | log4j-dev <log4j-dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PatchAvailable |
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: | Patch v1 |
Description
David D. Kilzer
2006-02-15 22:21:41 UTC
Created attachment 17705 [details]
Patch v1
Patch v1 fixes the issue for me when log4j is built locally.
Note that the email client I'm using happens to be MS Outlook XP (which makes
interesting choices for where to put line breaks), but I still think the stack
trace should have newlines after each line.
Not sure that it really should be Layout.LINE_SEP or '\n', but log4j 1.3 already had the problem fixed using LINE_SEP so stuck with that. Committed in log4j 1.2 branch in rev 439036. |