Summary: | Include option in throwable pattern converter to control stack trace separator | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | jpolsky |
Component: | Layout | Assignee: | log4j-dev <log4j-dev> |
Status: | NEEDINFO --- | ||
Severity: | enhancement | CC: | jpolsky |
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | 1.2.19 | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Proposed Patch |
Description
jpolsky
2011-04-26 14:48:20 UTC
Created attachment 29930 [details]
Proposed Patch
I realize this feature request is quite old and all active development is focused on 2.0. I've copied this to Log4j2 JIRA and posted a patch there as well: https://issues.apache.org/jira/browse/LOG4J2-160 I'm wondering if there are any plans to build any updates for 1.2; its use at our company is pretty wide spread and any transition to 2.0 wouldn't actually begin until that product is out of beta. I've ported that same improvement over to the 1.2 code base and attached the proposed patch. The change would allow the previously hard coded line separator ("\n") to be configurable using the syntax: %throwable[{"full"|"none"|"short"|depth}][{separator(|)}] Thank you for your patch. We still plan to update 1.2.x series until 2.x is more stable. That said, it highly depends on my own time so far and I am a bit of a bottleneck. My plan is to prepare a release soon, maybe may or so. |