ceki at qos.ch
Thu May 24 14:33:21 CEST 2012
Do you have more lines of the stack trace?
On 24.05.2012 14:20, David Virdefors wrote:
> 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
> 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
More information about the Logback-user