Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334148 - Information messages in .log from tptp.platform.common.ui.trace
Summary: Information messages in .log from tptp.platform.common.ui.trace
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Mike Reid CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 13:15 EST by Kathy Chan CLA
Modified: 2016-05-05 10:58 EDT (History)
1 user (show)

See Also:
jcayne: review+


Attachments
Patch (3.29 KB, patch)
2011-01-17 12:12 EST, Mike Reid CLA
no flags Details | Diff
mylyn/context/zip (1.79 KB, application/octet-stream)
2011-01-17 12:12 EST, Mike Reid CLA
no flags Details
Patch, w/ updated copyright (3.69 KB, patch)
2011-01-17 16:46 EST, Mike Reid CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.