Bug 79116 - Function needed to add the current year/month/day to a log message
Summary: Function needed to add the current year/month/day to a log message
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP.monitoring (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, ui
Depends on:
Blocks: 50681 105841 105845
  Show dependency tree
 
Reported: 2004-11-19 16:32 EST by Christine Knight CLA
Modified: 2010-06-03 15:10 EDT (History)
0 users

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-19 16:32:37 EST
In GLA editor while working with some files, like syslog, a log
 doesn’t have a ‘year’ record in timestamp. It’ll be more useful
 if there are function like adding the current year to those
 log messages.
Comment 1 Christine Knight CLA 2005-01-11 16:37:56 EST
Not contained in 4.0 so moving to 4.1
Comment 2 Hendra Suwanda CLA 2005-01-19 19:34:07 EST
Dave, please move this to TPTP bugzilla
Comment 3 Dave Smith CLA 2005-01-28 18:13:02 EST
Theme: Simple to Use 

This feature is providing functionality to make GLA more complete and 
accurate.  That is, it enables GLA to generate CommonBaseEvents with more 
accurate creationTime values.

Further Description of Requirement:

For log files that do not contain the year, the year should be able to be 
specified in the adapter file and if the year is not specified, the current 
year should be used when creating the creationTime value.
Comment 4 Dave Smith CLA 2005-04-20 12:14:42 EDT
This feature can be expanded to include the whole date, not just the year.  
Some logs only include the time - no date information.
Comment 5 Christine Knight CLA 2005-04-20 12:17:16 EDT
Yes, please add support for the whole date or any part thanks.
Comment 6 Christine Knight CLA 2005-05-13 09:23:14 EDT
This is P1 for us
Comment 7 Ruth Lee CLA 2005-07-12 11:21:04 EDT
Changing to P1 as per the 4.1 official plan.
Comment 8 Dave Smith CLA 2005-08-10 17:45:47 EDT
Code and schema changes committed to TPTP Head CVS.

Classes changed:
Context
SubstituteStatement
AdapterXMLConstants

Other files changed:
ComponentConfiguration.xsd
plugin.properties for org.eclipse.hyades.logging.adapter

As part of this feature work I needed to create more string constants for the 
new adapter XML attributes.  Instead of adding them to the plugin.properties 
file which was done in the past I created a new class for String constants 
called AdapterXMLConstants.  plugin.properties should only contain strings used 
in plugin.xml.  I started to move some of the other XML element name strings 
from plugin.properties to String constants in AdapterXMLConstants. This 
resulted in the following additional classes being modified:

Controller
AdapterConfigValidator
org.eclipse.hyades.logging.adapter.Parser
AdapterMigrator
ParserWrapper
Comment 9 Dave Smith CLA 2005-08-22 01:10:09 EDT
Manual test cases have been added to the Monitor.Execution testsuite in the 
org.eclpise.hyades.use.cases project.
GLA model and editor have been regenerated (bugzilla 105845).

Documentation (bugzilla 105841) will be completed in iteration 2.
Comment 10 Paul Slauenwhite CLA 2009-06-30 08:01:40 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.