You can specify one or more log entry types to write to the log file by using:

  • The Log Entry Types (-logentrytypes) startup parameter
  • The LOG-ENTRY-TYPES attribute on the LOG-MANAGER system handle
  • The agentLogEntryTypes and related properties in the openedge.properties file

The following table shows how to specify log entry types.

Table 1. Specifying log entry types
Method General syntax Example
Startup parameter
-logentrytypeslog-entry-type[:level]
-logentrytypes 4GLTrace:2,DynObjects.*:3
LOG-MANAGER system handle
LOG-MANAGER:LOG-ENTRY-TYPES = "log-entry-type[:level]".
LOG-MANAGER:LOG-ENTRY-TYPES = "DB.Connects,4GLTrace:2,DynObjects.UI:3".
OpenEdge Management or OpenEdge Explorer, or openedge.properties files
agentLogEntryTypes = "log-entry-type[:level]"srvrLogEntryTypes = "log-entry-type[:level]"brkrLogEntryTypes = "log-entry-type[:level]"
agentLogEntryTypes = "DB.Connects,4GLTrace:2,DynObjects.UI:3"
DSLOG-MANAGER system handle
DSLOG-MANAGER = "log-entry-type[:level]".
DSLOG-MANAGER:LOG-ENTRY-TYPES = "Cursor,DS.Interface:3".

For a detailed description of the Log Entry Types (-logentrytypes) startup parameter, see Startup Command and Parameter Reference.

For a detailed description of the LOG-MANAGER system handle, see ABL Reference.

For more information on openedge.properties, see the openedge.properties.README file in path-to/instance-name/conf.

For information about specifying log entry types for the server context of DataServers, see Use the Microsoft SQL Data Server, and Use the Oracle Data Server.