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. Open the server error log view.
    • To view 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 Adaptive Server Monitor window, click on Error Log.
    • To view server error log entries 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.
    • To view server error log entries from an instance in the Adaptive Server 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 window appears. The last 1000 log entries are displayed by default.
  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.
    1. Select the type of flag to be associated with the expression and click OK.
  5. You can remove or edit a definition by selecting the expression from the flag definition list, click Edit or Remove, then make the appropriate changes and click OK.
  6. Enable or disable flag definitions individually by clicking on the check box in the Enable column.
  7. Enable disable all definitions by clicking Enable All or Disable All.
  8. Click Apply to save your changes.