Managing Flag Definitions

Flag definitions provide additional searching capabilities for error log entries.

Prerequisites
Register and authenticate the agent to enable error log viewing.
Task
  1. Display server error log entries:
    • From the monitor view – From the Perspective Resources view, click the drop-down arrow that appears next to the server name, then select Monitor. In the SAP Adaptive Server Enterprise Monitor window, click Error Log.
    • From the Administration Console – In the left pane of the Administration Console, select ASE Servers to populate the right pane with a list of servers. Select a server, click the drop-down arrow that appears next to the name, then select View Error Log.
    • From an instance in the Cluster Edition – In the left pane of the Administration Console, select Cluster Management > Instances. Select an instance, click the drop-down arrow that appears next to the name, then select View Error Log.
    The error log shows, by default, the most recent 1000 log entries.
  2. Click Show Search Options.
  3. Click Show Flag Definitions.
  4. To add a new flag definition, click Add.
    1. Specify a descriptive name or phase for the definitions. For example, "Abnormal connection termination."
    2. Enter a search phase for the definition. For example, "Abnormal termination."
      User-defined regular expressions are persistently saved.
    3. Select the flag type to associated with the expression and click OK.
  5. You can remove or edit a definition by selecting the expression from the flag definition list, clicking Edit or Remove, making the appropriate changes, and clicking OK.
  6. Enable or disable individual flag definitions by clicking the check box in the corresponding Enable column.
  7. Enable or disable all definitions by clicking Enable All or Disable All.
  8. Click Apply to save your changes.