Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Logging and Tracing?
Logging and Tracing? [message #490213] Wed, 07 October 2009 21:11 Go to next message
Millard Ellingsworth is currently offline Millard EllingsworthFriend
Messages: 14
Registered: July 2009
Junior Member
I tried to search for related posts, but those keywords produce many hits that have nothing to do with my question...

We're considering dropping log4j and using the Eclipse logging. The viewer is nicer and makes the logs easier for the user to review (if they ever want to). But that only covers the "Application Log" -- errors we might want to report to the user about what happens with the application. How do folks typically handle "developer logs" -- entry/exit, typical debug messages, etc.? Don't really want to mix them in with the other stuff and there are only a few severity levels available (and we didn't see anything that would qualify as debug/trace nor levels for those -- ala log4j).

Thanks...Millard
Re: Logging and Tracing? [message #490249 is a reply to message #490213] Thu, 08 October 2009 05:18 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Millard Ellingsworth wrote:
> application. How do folks typically handle "developer logs" --
> entry/exit, typical debug messages, etc.?

The .options file and Platform.inDebugMode()

- Prakash

Platform UI Team, IBM
http://blog.eclipse-tips.com
Re: Logging and Tracing? [message #491508 is a reply to message #490249] Wed, 14 October 2009 20:06 Go to previous message
Millard Ellingsworth is currently offline Millard EllingsworthFriend
Messages: 14
Registered: July 2009
Junior Member
This was useful, thanks.

For anyone else that may wonder about this and find this post, one thing I did trip over was forgetting to add my .options file to the binary build -- so it looked like none of it worked until I straightened that one out.

Two best references I found were:

http://www.ibm.com/developerworks/rational/library/06/0221_r ossner/index.html

http://wiki.eclipse.org/FAQ_How_do_I_use_the_platform_debug_ tracing_facility%3F
Previous Topic:Run Menu order
Next Topic:Very short running jobs inside progress group are not shown appropriately in progress view
Goto Forum:
  


Current Time: Mon Nov 24 18:05:51 GMT 2014

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

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