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

Bug 163710

Summary: EventLogReader.exe does not expand error messages in the event message
Product: z_Archived Reporter: Dave Smith <smith>
Component: TPTP.monitoringAssignee: Cindy Jin <jx_china>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 Keywords: plan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard: closed460
Attachments:
Description Flags
patch file
none
Reader.cpp
none
more change to reader.cpp - file to check in none

Description Dave Smith CLA 2006-11-07 15:46:43 EST
The Windows event log reading program EventLogReader.exe does not expand error messages when writing out the events in text format to the file.  For example, here is the Message: value in the error.log file for a System Event log entry:

Message: No Windows NT or Windows 2000 Domain Controller is available for domain TOROLAB.  The following error occurred:  %%1311  ;

The message shown in the Description field for the same record in the Windows Event Viewer is:

Description:
No Windows NT or Windows 2000 Domain Controller is available for domain TOROLAB. The following error occurred:
There are currently no logon servers available to service the logon request.  

It would be useful if error messages could be expanded so that the parsed log records contain the error messages.

This issue was noticed when executing GenericLogAdpater\config\Windows\system\runregex_example.bat for the TPTP 4.3 standalone GLA package from 200611070100 build on a Windows 2000 machine .
Comment 1 Dave Smith CLA 2006-11-07 15:48:32 EST
This is not a serious issue.  Only stop ship issues can be addressed in TPTP 4.3 at this point so this problem is being deferred until 4.4.
Comment 2 Dave Smith CLA 2007-01-17 23:45:14 EST
Added sizing.
Comment 3 Dave Smith CLA 2007-02-06 02:22:59 EST
Targetting to fix in i3 and increasing priority to indicate it is planned for
4.4.  Reassigning to Cindy.
Comment 4 Cindy Jin CLA 2007-04-24 17:34:23 EDT
Created attachment 64796 [details]
patch file
Comment 5 Cindy Jin CLA 2007-04-26 10:58:47 EDT
Created attachment 65045 [details]
Reader.cpp
Comment 6 Dave Smith CLA 2007-04-27 13:24:22 EDT
Created attachment 65238 [details]
more change to reader.cpp - file to check in

This file corrects some bugs in checkErrorCode in the original file.
Comment 7 Dave Smith CLA 2007-04-27 13:25:30 EDT
Committed attached fixed file to TPTP Head CVS.
Comment 8 Paul Slauenwhite CLA 2009-06-30 09:53:19 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 originator of this enhancement/defect has an inactive Bugzilla account 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.