Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334148

Summary: Information messages in .log from tptp.platform.common.ui.trace
Product: z_Archived Reporter: Kathy Chan <kathy>
Component: TPTPAssignee: Mike Reid <mikereid>
Status: CLOSED FIXED QA Contact: Kathy Chan <kathy>
Severity: normal    
Priority: P2 CC: jcayne
Version: unspecifiedFlags: jcayne: review+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch
none
mylyn/context/zip
none
Patch, w/ updated copyright none

Description Kathy Chan CLA 2011-01-12 13:15:16 EST
When using TPTP 4.7.2 driver to profile a Java application, I always get 2 information message in the .log after I terminated profiling:

!ENTRY org.eclipse.tptp.platform.common.ui.trace 0 0 2011-01-10 15:09:38.828
!MESSAGE Processed: 4300 bytes, bytes/second: 104, events processed: 69, events/second: 1, elapsed time: 41 seconds

!ENTRY org.eclipse.tptp.platform.common.ui.trace 0 0 2011-01-10 15:09:38.843
!MESSAGE Processed: 4300 bytes, bytes/second: 104, events processed: 0, events/second: 0, elapsed time: 41 seconds

It does not look like these messages are essential.  They are cluttering the log.
Comment 1 Kathy Chan CLA 2011-01-12 13:16:38 EST
Mike,

Could you please take a look?
Comment 2 Mike Reid CLA 2011-01-17 12:12:32 EST
Created attachment 186924 [details]
Patch

Attaching patch which conditionally outputs this message only if ModelDebugger.INSTANCE.debug evaluates to true.
Comment 3 Mike Reid CLA 2011-01-17 12:12:33 EST
Created attachment 186925 [details]
mylyn/context/zip
Comment 4 Joel Cayne CLA 2011-01-17 16:43:54 EST
Patch looks good.

Please update the Copyright. Thanks!
Comment 5 Mike Reid CLA 2011-01-17 16:46:45 EST
Created attachment 186949 [details]
Patch, w/ updated copyright

Updated patch w/ copyright.
Comment 6 Mike Reid CLA 2011-01-17 16:48:02 EST
Patch checked into HEAD.
Comment 7 Mike Reid CLA 2011-04-04 10:59:21 EDT
Closing.