Tracing a Script

You can run a trace on an allocation, event, or SQL command. You can start a trace for a user account, such as your development team. The Siebel Server saves the trace information to a log file. Tracing a script is not the same as tracing a file. For more information about tracing a file, see the information that describe the Trace, TraceOn, and TraceOff methods in Siebel Object Interfaces Reference.

To trace a script

  1. Log in to the Siebel application, navigate to the Administration - Server Management screen, and then the Components view.

  2. Choose the component that you want to trace.

  3. Navigate to the Component Event Configuration view.

  4. Locate the Object Manager Extension Language Log event.

    If this event does not exist, then the component you chose in Step 2 does not support logging. Most components support logging, but some do not. If necessary, repeat Step 2 but choose another component.

  5. Set the Log Level to 1.

    To disable logging when you are done, you can set the Log Level to 0 (zero).

  6. Navigate to the Component Parameters view.

  7. (Optional) To display only the script tracing parameters, enter a query using the values from the following table.

    Field Value

    Parameter Alias

    Trace*

    Subsystem

    Object Manager

  8. Set one or more tracing parameters using the values from the following table.

    Object to Trace Alias Description

    Allocations

    TraceAlloc

    Enter 0 (zero) to disable logging. Enter 1 to enable logging.

    Events

    TraceEvents

    Enter 0 (zero) to disable logging. Enter 1 to enable logging.

    SQL Commands

    TraceSql

    Enter 0 (zero) to disable logging. Enter 1 to enable logging.

    Users

    TraceUser

    Enter a comma-separated list of user names. Do not use spaces. For example, you can enter the following:

    sadmin,mmasters,hkim,cconnors
    

    To set tracing parameters, enter a value depending on when the modification must take affect:

    • Immediately. You modify values in the Current Value column.

    • After a restart. You modify values in the Value on Restart column.