Wow, I don't even see the separator option documented on our site... you must have looked in the code ;-)
Gary On Wed, Nov 12, 2014 at 6:47 AM, Alexey Zavizionov < [email protected]> wrote: > I want to separate stacktrace with date at each line, but with separator i > got it in one line with print separator as is, even without new line.. > Seems to be a bug? > > <PatternLayout> > <pattern>%d{HH:mm:ss.SSS} : %m [] %throwable{separator(%n%d)} > %n</pattern> > </PatternLayout> > > \n also don't work in it. > > I want to use %d in it. > Please try to fix the with it. > org.apache.logging.log4j.core.pattern.ThrowablePatternConverter.formatOption(Throwable, > StringBuilder) > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
