Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Errorlog View problem
Errorlog View problem [message #522887] Wed, 24 March 2010 07:31 Go to next message
Bernd van Velsen is currently offline Bernd van Velsen
Messages: 19
Registered: November 2009
Junior Member
Everytime I log an error with an IStatus less then error(OK, warning, Information) then my log-view displays those statusses as OK-status, but not as INFO or WARNING. also the dates are set to 1/01/70

I log with this code
ILog logger = Activator.getDefault().getLog();
logger.log(status);

does anyone have an idea how this can be possible?
Re: Errorlog View problem [message #522898 is a reply to message #522887] Wed, 24 March 2010 08:46 Go to previous message
Bernd van Velsen is currently offline Bernd van Velsen
Messages: 19
Registered: November 2009
Junior Member
ok, I found the solution myself. seems like I tried to create a Status object with as pluginID parameter some ID with spaces in them, so a non-valid plugin id. the log viewer can't handle those entries...

example:
- com.myapp.logthing is correct
- com myapp.logthing is invalid
Previous Topic:How to set the number of visible rows in Table?
Next Topic:Fragment Project as a resource project
Goto Forum:
  


Current Time: Mon Sep 01 17:05:06 EDT 2014

Powered by FUDForum. Page generated in 0.01614 seconds