set event_log

Use the set event_log command to enable or disable event logging.

Syntax

set event_log log_level <string> [log_file <string>]

Parameters

The following table describes the parameters for this command.

set event log Parameters
Parameter Description
log_level A string that specifies the log level for the event logging. Can be one of the following:
  • fatal
  • error
  • warning
  • info
  • fine
  • finer
  • finest
  • none

To disable event logging, specify none.

log_file Optional. You can specify the log_file parameter to specify a file name or a fully qualified file name for the log file.

Note that when specifying a fully qualified file name for the log file, Windows paths must have the backslash ('\') character escaped ('\\'). The default log file for logging events is:

<current directory>/log/as-events-<pid>.log

where pid is the process ID of the as-admin process.