Summary: | ThrowableInformationPatternConverter should not use "\n" for line separation | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | Isaac Shabtay <isaac> |
Component: | Layout | Assignee: | log4j-dev <log4j-dev> |
Status: | NEW --- | ||
Severity: | minor | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | Suggested patch |
Created attachment 31716 [details] Suggested patch for (int i = 0; i < length; i++) { String string = stringRep[i]; toAppendTo.append(string).append("\n"); } For full compliance and as a best practice, the platform-specific line separator should be used.