How to log Platform/JFace/SWT - errormessages into my own logs? [message #536166] |
Thu, 27 May 2010 09:55 |
|
Hi,
inside my RCp application I use SLF4J to log anything and it works very
well.
The only thing I dont get are error messages which are generate from the
framework plugins like swt or jface.
Can somebody point in the right direction, how do I have to listen for
these logmessages?
Greetings
Heiko
|
|
|
|
Re: How to log Platform/JFace/SWT - errormessages into my own logs? [message #537091 is a reply to message #536297] |
Tue, 01 June 2010 09:48 |
|
Hi Paul,
thanks for your quick answer.
Today I found some time, to play again with the logging and at the
moment i would say the workbench plugin (org.eclipse.ui.workbench) is
the important plugin.
In the log of these bundle did eclipse write NPE's or missing things
like wrong defined commandd in the plugin.xml's.
Greetings
Heiko
Am 27.05.2010 16:57, schrieb Paul Webster:
> You can add a log listener to org.eclipse.core.runtime.Plugin.getLog()
> (if you've derived your activator from it).
>
> There's also the org.osgi.service.log.LogService but I'm not sure if the
> platform funnels log events through the OSGi service.
>
> PW
>
|
|
|
Powered by
FUDForum. Page generated in 0.02905 seconds