[logback-user] Appenders

Greg Flex greg.flex at gmail.com
Tue Jun 16 22:59:10 CEST 2009


Hi Ceki and all,
I figured the problem out so there's no need to answer my previous email.
FYI:
What was missing is the CallerData object that apparently needs to be
defined....
Here is the code: (in addition to the code in previous message)

CallerData callerData= new CallerData("somefilename.java", "foo",
"methodFoo", 123);
CallerData[] cda = new CallerData[1];
cda[0] = callerData;
//then I added the callerData to the event...
event.setCallerInformation(cda);

This did the trick.
I'm happy ;-)
Gregory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20090616/c5676eb4/attachment.htm>


More information about the Logback-user mailing list