ADDITIONAL RETURNS INFORMATION
The data will be passed back in multiple occurrences of the following LTD (Length, Type, Data) format:
ULONG
Where:
length (ULONG) is the length, in bytes, of this detail record (includes length, type, and data fields).
type (ULONG) is an integer value that represents the type of data being passed back.
An error record is created by the system when an error in a system or application program triggers a probe in that program. Error records contain detailed information to help you diagnose the error. Error records are also called DET1 records. Records created by a back level logging system are called DET4 records.
A control record is created by the system when you make changes to the way errors are logged. For example, when you suspend error logging or direct error logging to a new file, the system records that change in a control record. Control records are also called DET2 records. Control records are new for FFST technology and are not available in records created by a back level logging system.
The following are the current Error Logging type values and their meanings:
┌──────────┬─────────────────────────┬──────────┐│Type │Meaning │From │ │ │ │Record │ │ │ │Type │ ├──────────┼─────────────────────────┼──────────┤ │0005 │Date heading │DET1, │ │ │ │DET2, or │ │ │ │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0006 │Date │DET1, │ │ │ │DET2, or │ │ │ │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0007 │Time heading │DET1, │ │ │ │DET2, or │ │ │ │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0008 │Time │DET1, │ │ │ │DET2, or │ │ │ │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0009 │Entry ID heading │DET1, │ │ │ │DET2, or │ │ │ │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0010 │Entry ID │DET1, │ │ │ │DET2, or │ │ │ │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0011 │Severity heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0012 │Severity │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0013 │Module name heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0014 │Module name │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0015 │Directory name heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0016 │Directory name │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0017 │Error message heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0018 │Error message text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0019 │Probe ID heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0020 │Probe ID text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0021 │Probe Flags heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0022 │Probe Flags │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0023 │Template Repository │DET1 │ │ │pathname heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0024 │Template Repository │DET1 │ │ │pathname text │record │ ├──────────┼─────────────────────────┼──────────┤ │0025 │Template ID heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0026 │Template ID text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0027 │Dump generated heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0028 │Dump Generated text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0029 │Trace file generated │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0030 │Trace File generated text│DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0031 │Process dump generated │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0032 │Process Dump generated │DET1 │ │ │text │record │ ├──────────┼─────────────────────────┼──────────┤ │0040 │Failure Causes heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0041 │Failure Cause (Could be 4│DET1 │ │ │of these) │record │ ├──────────┼─────────────────────────┼──────────┤ │0050 │Failure Actions heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0051 │Failure Action (Could be │DET1 │ │ │4 of these) │record │ ├──────────┼─────────────────────────┼──────────┤ │0060 │Install Causes heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0061 │Install Cause (Could be 4│DET1 │ │ │of these) │record │ ├──────────┼─────────────────────────┼──────────┤ │0070 │Install Actions heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0071 │Install Action (Could be │DET1 │ │ │4 of these) │record │ ├──────────┼─────────────────────────┼──────────┤ │0080 │User Causes heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0081 │User Cause (Could be 4 of│DET1 │ │ │these) │record │ ├──────────┼─────────────────────────┼──────────┤ │0090 │User Actions heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0091 │User Action (Could be 4 │DET1 │ │ │of these) │record │ ├──────────┼─────────────────────────┼──────────┤ │0100 │Return Code heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0101 │Return Code text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0110 │Dump File name heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0111 │Dump File name text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0112 │Dump formatter heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0113 │Dump Formatter text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0114 │Dump File Deletion Date │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0115 │Dump File Deletion Date │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0116 │Dump File Deletion Time │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0117 │Dump File Deletion Time │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0120 │Trace File name heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0121 │Trace File name text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0122 │Trace formatter heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0123 │Trace formatter text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0124 │Trace File Deletion Date │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0125 │Trace File Deletion Date │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0126 │Trace File Deletion Time │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0127 │Trace File Deletion Time │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0130 │Process Dump File name │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0131 │Process Dump File name │DET1 │ │ │text │record │ ├──────────┼─────────────────────────┼──────────┤ │0132 │Process Dump formatter │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0133 │Process Dump formatter │DET1 │ │ │text │record │ ├──────────┼─────────────────────────┼──────────┤ │0134 │Process Dump Deletion │DET1 │ │ │Date heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0135 │Process Dump File │DET1 │ │ │Deletion Date │record │ ├──────────┼─────────────────────────┼──────────┤ │0136 │Process Dump Deletion │DET1 │ │ │Time heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0137 │Process Dump File │DET1 │ │ │Deletion Time │record │ ├──────────┼─────────────────────────┼──────────┤ │0140 │PCT heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0141 │PCT Execution Parameters │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0150 │DMI vendor tag heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0151 │DMI vendor tag text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0155 │DMI tag heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0156 │DMI tag text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0165 │DMI product ID heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0166 │DMI product ID text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0170 │DMI revision heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0171 │DMI revision text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0172 │DMI modification level │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0173 │DMI modification level │DET1 │ │ │text │record │ ├──────────┼─────────────────────────┼──────────┤ │0174 │DMI fix level heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0175 │DMI fix level text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0195 │Machine type heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0196 │Machine type text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0200 │Machine serial number │DET1 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0201 │Machine serial number │DET1 │ │ │text │record │ ├──────────┼─────────────────────────┼──────────┤ │0205 │Hostname heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0206 │Hostname text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0210 │User Data heading │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0211 │User data text │DET1 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0213 │Action heading │DET2 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0214 │Action text │DET2 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0215 │Old Value heading │DET2 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0216 │Old Value text │DET2 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0220 │New Value heading │DET2 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0221 │New Value text │DET2 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0222 │Created by backlevel text│DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0223 │Record ID heading │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0224 │Record ID │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0225 │Qualifier heading │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0226 │Qualifier │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0227 │Originator heading │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0228 │Originator │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0229 │User data │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0230 │Process name heading │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0231 │Process name │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0232 │FMTDLL heading │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0233 │FMTDLL name │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0234 │FMTDLL text │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0235 │GA component ID heading │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0236 │GA component ID │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0237 │GA release level heading │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0238 │GA release level │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0239 │GA software name heading │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0240 │GA software name │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0241 │Generic alert subvector │DET4 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0242 │Generic alert subvector │DET4 │ │ │text │record │ ├──────────┼─────────────────────────┼──────────┤ │0243 │Probable causes subvector│DET4 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0244 │Probable causes subvector│DET4 │ │ │text │record │ ├──────────┼─────────────────────────┼──────────┤ │0245 │User causes subvector │DET4 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0246 │Install causes subvector │DET4 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0247 │Failure causes subvector │DET4 │ │ │heading │record │ ├──────────┼─────────────────────────┼──────────┤ │0248 │Subvector key heading │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0249 │Subvector key type │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0250 │Subvector key text │DET4 │ │ │ │record │ ├──────────┼─────────────────────────┼──────────┤ │0251 │Hex dump text │DET4 │ │ │ │record │ └──────────┴─────────────────────────┴──────────┘
data (UniChar[]) or data (Char[]) is a variable length area that contains the formatted data.
Note: If there is no data, only the length and type portion of the record will be returned. The length would indicate that there is no data.
The library LFAPI.LIB must be linked with object files that use LogFormatEntry
The packet_revision_number parameter defines if pointers point to ASCII or UniCode character data.