Bug 79014 - (MON) Improved tracing/GLA diagnostics
Summary: (MON) Improved tracing/GLA diagnostics
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Hyades (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P1 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Dave Smith CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords: Documentation, PII
Depends on:
Blocks:
 
Reported: 2004-11-18 16:18 EST by Christine Knight CLA
Modified: 2012-02-15 13:43 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christine Knight CLA 2004-11-18 16:18:10 EST
better error messages with the LTA UI, especially to better track the progress 
(or failure) of remote import operations.

From Eric Labadie:
I want to add to that a bit...I'm finding it to be very time-consuming to track 
down GLA issues without some sort of diagnostic trace log. One example: the GLA 
fails silently if a converter is specified, but the converter is not in the 
path (on Windows). It seems like there should be some sort of error to indicate 
that condition.
Another example: I developed a simple adapter and tried to deploy it....it 
appears to run but returns no log entries. It ran fine in the GLA editor. 
The GLA code ought to be more extensively instrumented with debug/trace calls.
Comment 1 Dave Smith CLA 2005-01-13 18:05:47 EST
Swapping my 3.3 i1 & i2 feature work because of dependencies.
Comment 2 Dave Smith CLA 2005-02-08 12:40:33 EST
Moving this to 3.3 i2 as it could not be contained in i1 and there are no hard 
dependencies for this work in i1.
Comment 3 Dave Smith CLA 2005-03-18 16:38:15 EST
As part of this feature a new API method will be introduced in the Parser and 
MonitoringParser static parser abstract classes to read a line from the log 
file.  This method will throw an exception if an error occurs reading the 
file.  The exception will contain information about why the read failed.  The 
existing readLine() method just returns null if an error occurs.  It will be 
deprecated in this release.  The new method is called readALine() with 
signature:

protected String readALine() throws LogParserException

The "Writing a Static Parser class" documentation needs to be updated with this 
new API and add a note that the old one is deprecated.
Comment 4 Dave Smith CLA 2005-03-23 16:41:15 EST
Committed all changes to CVS (Hyades 3.3 and TPTP 4.0 Head streams).  Here is 
the list of files that were changed:

o.e.h.logging.adapter
---------------------
AdapterException
AdapterPlugin
SimpleExtractor
CBEFormatter
SerializedCBEFormatter
BasicContext - comment only
Component - added trace methods
Context - comment only
Controller
AdapterLogFileOutputter
ComponentLoaderUtil
CBEFileOutputter
CBELogOutputter
CBEstdoutOutputter
Parser
SingleOSFileSensor
BufferedPeriodicReader
MultipleFileReader - comment only
plugin.properties

o.e.h.logging.adapter.config
----------------------------
StaticParserWrapper
StaticParserSensor

o.e.h.logging.parsers
----------------------
AbstractAccessLogParser - changed readLine calls to readALine
AbstractErrorLogParser - changed readLine calls to readALine
LogParserException
MonitoringParser
Parser
ParserUtilities
plugin.properties
Comment 5 Nellie Chau CLA 2005-03-24 11:24:05 EST
Docs updated to reflect this change.
Comment 6 Paul Slauenwhite CLA 2009-06-30 12:35:48 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.