[logback-user] RCP
David Virdefors
david.virdefors at purplescout.se
Thu May 24 14:20:10 CEST 2012
Hi,
It seems like there is no built in support for logging from within an
Eclipse RCP plug-in. So I wrote my own appender and pointed to it from my
logback.xml
14:14:04,992 |-ERROR in ch.qos.logback.core.joran.action.AppenderAction -
Could not create an Appender of type [foo.RCPAppender].
ch.qos.logback.core.util.DynamicClassLoadingException: Failed to
instantiate type se.ericsson.baseband.logging.RCPAppender
at
ch.qos.logback.core.util.DynamicClassLoadingException: Failed to
instantiate type foo.RCPAppender
I've seen other people who have trouble with this when using ecilpse
plug-ins and bundles due to different class loaders. I have however not
found any proper solution to this.
How would I make logback find my appender?
BR David
From: logback-user-bounces at qos.ch [mailto:logback-user-bounces at qos.ch] On
Behalf Of David Virdefors
Sent: den 24 maj 2012 11:41
To: logback-user at qos.ch
Subject: [logback-user] RCP
Hi,
I'm developing Eclipse RCP plug-ins. Is it possible to make logback log to
the existnig workspace log, so that the logs show up in the "Error Log"
view in the GUI?
BR David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120524/ae9c74ed/attachment.html>
More information about the Logback-user
mailing list