Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Can't get logging to console to work
Can't get logging to console to work [message #593137] Wed, 11 March 2009 14:24
Andy is currently offline AndyFriend
Messages: 47
Registered: July 2009
I am trying to get a simple message to log to the console from my plugin.
Alas, nothing appears to work, except System.out.println.

I tried to use the info here: g_facility%3F

and in my code this is what I have

ILog logger = Activator.getDefault().getLog();
IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, " the
error text that I want on the console " );

Not only does it not show up in the console, it doesn't show up in the
log file either. Nor do I even get any kind of error message! Is this a
bug or am I missing something? Thanks.

Previous Topic:Can't get logging to console to work
Next Topic:Leveraging OSGi and dynamic bundle loading
Goto Forum:

Current Time: Fri Jun 25 14:06:05 GMT 2021

Powered by FUDForum. Page generated in 0.01960 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top