LOG-ENTRY-TYPES attribute
A comma-separated list of one or more types of log entries to write to the log file.
Data type: CHARACTER
Access: Readable/Writeable for LOG-MANAGER
Readable for DSLOG-MANAGERApplies to: DSLOG-MANAGER system handle, LOG-MANAGER system handle
Use the LOG-ENTRY-TYPES attribute to specify one or more types of log entries to write to the log file. For an OpenEdge client, the Client Logging (
-clientlog
) startup parameter or the LOG-MANAGER system handle’s LOGFILE-NAME attribute specifies the log file. For a DataServer server, the DataServer Logging (-dslog
) startup parameter specifies the log file.The LOG-ENTRY-TYPES attribute corresponds to the Log Entry Types (-logentrytypes) startup parameter.
By default, the logging level you specify using the LOGGING-LEVEL attribute or the Logging Level (
-logginglevel
) startup parameter applies to all log entry types specified. However, you can specify a different logging level for each entry type, as follows:
log-entry-type
level
Table 87 describes the log entry types for the LOG-MANAGER system handle.
Table 87: Log entry types Log entry type Executables Description ABL (GUI and character mode). AppServer and WebSpeed do not require this log entry type for ABL messages to be written to the log file Turns on logging of ABL messages. OpenEdge writes all ABLVIEW-AS
ALERT-BOX
messages to the log file, together with the ABL stack, when you turn on Debug Alert using either the Debug Alert (-debugalert
) startup parameter or the DEBUG-ALERT attribute on the SESSION system handle. ABL clients, AppServer, and WebSpeed agents Turns on logging for the execution of internal procedures, user-defined functions, persistent user-interface triggers, named events, and class events (generated by the RUN, FUNCTION, PUBLISH, and SUBSCRIBE statements, and (for class events) by thePublish( )
,Subscribe( )
, andUnsubscribe( )
event methods, respectively). It also logs the instantiation and use of classes, including execution of constructors (invoked by the NEW function (classes) and also by the SUPER and THIS-OBJECT statements), the execution of methods defined within classes (including those invoked using the SUPER system reference), the execution of property accessors (invoked by accessing a property of a class), and the execution of destructors (invoked by executing the DELETE OBJECT statement or as a result of ABL garbage collection). ABL clients. Turns on logging for the processing of transactions and subtransactions in ABL procedures. AIA Turns on logging for the AIA component. AppServer agent Combines theAsPlumbing
andDB.Connects
log entry types. It is the default value for AppServer agents. AppServer agent Turns on logging for different actions, depending on the logging level specified. ABL clients, AppServer, and WebSpeed agents Turns on logging of database connections (connects and disconnects). The log messages include database name and user ID number. ABL clients Turns on logging of DataServer processing ABL clients, AppServer, and WebSpeed agents
ABL clients and WebSpeed agents Turns on logging of dynamic object creation and deletion.For a list of objects within each category and a description of the log entries, see OpenEdge Development: Debugging and Troubleshooting. ABL clients, AppServer, and WebSpeed agents Turns on logging of file access operations (opening and closing files), and any file access error messages that might occur. ABL clients Turns on logging of operations that the AVM ignores because the ABL windows to which they apply are embedded in .NET forms. For information about operations that the AVM ignores when they occur in the context of an embedded window, see the EmbeddedWindow property reference entry. WebSpeed Messengers Turns on logging for WebSpeed Messengers. The information logged depends on which Messenger is running and the logging level specified. NameServer Turns on logging for the NameServer component. ABL clients, AppServer, and WebSpeed agents Turns on event logging for different categories of events.For a list of events within each category and a description of the log entries, see OpenEdge Development: Debugging and Troubleshooting. ABL clients, AppServer, and WebSpeed agents Turns on logging of queries (each open query andFOR
EACH
block) executed in an application. ABL clients, AppServer, and WebSpeed agents Turns on logging for the SAX parser. Unified Broker Turns on logging for the Unified Broker component. Web Services Adapter (WSA) Turns on logging for the Web Services Adapter component.
Table 88 describes the log entry types for the DSLOG-MANAGER system handle.
Table 88: Log entry types Log entry type Description Connects1 Turns on logging for connection attributes and related information in the DataServer log file Turns on logging of cursor details in the DataServer log file Turns on logging of SQL query processing in the DataServer log file Turns on logging for the processing of transactions and subtransactions in the DataServer log file
1The only valid logging level for this log entry type is 2.
The following example shows how to specify one or more log entry types:
Note: If you set the LOGGING-LEVEL attribute at run time, it resets the logging level for all log entry types to the specified value. You should use LOG-ENTRY-TYPES to change logging levels for specific log entry types at run time. You must respecify all the different log entry types each time that you want to change one.The following example shows how to specify all log entry types within a category:
You can also turn off logging by setting this attribute to the Unknown value (
?
).See also the reference entries for the Client Logging (
-clientlog
), DataServer Logging (-dslog
), Log Entry Types (-logentrytypes), and Logging Level (-logginglevel
) startup parameters in OpenEdge Deployment: Startup Command and Parameter Reference.For more information about log entry types and logging levels, see OpenEdge Development: Debugging and Troubleshooting.
OpenEdge Release 10.2B
|