trace_filter

Display, sets or removes trace filters for the Replication Agent trace flags.

Syntax

trace_filter [ {trace_flag | all }, 
     [ {filter_code | all} 
        [, filter_values]
]]

Parameters

Usage

  • The trace_filter command is intended for use by SAP Technical Support engineers when troubleshooting Replication Agent problems.

  • When trace_filter is invoked with no option, it returns the current settings for all Replication Agent trace flags.

    The summary of different trace_filter command output for various filter settings:
    Command Output
    trace_filter

    Shows the current trace filter for all trace flags and filter codes. This command is same as trace_filter all.

    trace_filter trace_flag

    Shows the current trace filter for the specified trace_flag with all filter codes. If the trace_flag is set to all, this command is equivalent to trace_filter with no arguments.

    trace_filter trace_flag, filter_code
    Shows the current trace filter settings for the specified trace_flag and the filter_code.
    • If the trace_flag is set to all, the command returns filter settings for the specified filter_code.
    • If the filter_code is set to all, the command returns filter settings for the specified trace_flag.
    • If both trace_flag and filter_code are set to all the command is equivalent to trace_filter with no arguments.
    trace_filter trace_flag, filter_code, filter_values

    Sets or removes the filter values for the specified trace_flag and the filter_code.

  • Changes made with the trace_filter command take effect immediately.

  • The trace_filter command is valid when the Replication Agent instance is in the Admin, Replicating, or Replication Down state.