
27 Sep
2013
27 Sep
'13
2:40 a.m.
Hello Logbackers, I am trying to manually create an OutputstreamAppender that writes to a ByteArrayOutputStream. I am stumped by a NPE at LayoutWrappingEncoder.doEncode(LayoutWrappingEncoder). Here is a gist what I have so far[1]. From all the examples I found on the web, it appears correct. Sadly, it does not work. What I find odd is that I am passing in a PatternEncoder, so how is the LayoutWrappingEncoder being called? My understanding was LayoutWrappingEncoder was for deprecated Layouts. Any help would be greatly appreciated. 1: https://gist.github.com/mguymon/6723434 thanks, Michael
4389
Age (days ago)
4389
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Guymon