Logtool Specifications

Hewlett-Packard STM: Logtool ERS * Revision 1.17
- Page 41 - Printed: 02/04/99 3:38 PM
Appendix A - Log Entry Formats
There are several architected log entry formats that Logtool handles. For each entry, there
is a header portion that is architected. Additionally, each entry has a data portion which is
not architected. Logtool processes, formats, and displays the header fields and decoding
programs are used to handle the data portion. This strategy strikes a balance between
flexibility and usability in that Logtool can use the header information for summarizing
and filtering log entries but does not need to know the details of the data portion. Thus, to
change or enhance the data that is logged, all that is required is changing the appropriate
decoding program. The only instance in which Logtool itself would need to change is if a
new type of log entry is introduced or a change in the header information of one or more
entries is required.
The structure of each type of log entry is shown in the figure below. Following the
diagram, a brief description is provided.
I/O Error
Entry
(Entry Type = 1)
LPMC
Entry
(Entry Type = 2)
System
Overtemp
Entry
(Entry Type = 3)
LVM
Entry
(Entry Type = 4)
Logger
Entry
(Entry Type = 5)
Header: Header: Header: Header: Header:
Entry Length Entry Length Entry Length Entry Length Entry Length
Entry Type Entry Type Entry Type Entry Type Entry Type
Entry Index Entry Index Entry Index Entry Index Entry Index
Entry Version Entry Version Entry Version Entry Version Entry Version
Time Stamp Time Stamp Time Stamp Time Stamp Time Stamp
Device Path Hversion Data Length Data Length Data Length
Product Data Length
Data: Data: Data:
Product Qual
Data:
...
Logger ID
....
Data Length
....
Data:
.
.
.
.