Show TOC

Changing the Trace Level in a Productive System: Option -t (toggle trace)Locate this document in the navigation structure

You can use option - t to change the trace level of an active SAProuter. There are trace levels 1, 2, and 3.

You can also activate the trace for single connections. For these connections the information is written with trace level 2.

The connection is traced using an enhanced syntax of option –t. You have the following options:

Command

Meaning

saprouter -t "on <id>"

<id> is the number of the connection. You can see this number when you display the connection information (saprouter ‑l). This command activates the trace for this (existing) connection.

More information: Option -l / -L

saprouter -t "off <id>"

Deactivates the trace for connection with number <id>.

saprouter -t "on <IPaddress>"

Activates the trace for all new connections coming from the IP address <IPaddress>. You use this option if the connection is not yet open and you are looking for information to set up the connection.

saprouter -t "off <IPaddress>"

Deactivates the trace for all new connections coming from the IP address <IPaddress>.

saprouter -t "on <subnet>"

<subnet> specifies a set of IP addresses. The command activates the trace for all new connections coming from this subnetwork.

saprouter -t "off <subnet>"

Deactivates the trace for all new connections coming from this subnetwork.

Note Connections for which the connection trace is activated are marked in the connection overview with an asterisk (*). You can display the connection overview with option -l. You can find the trace information in the trace file dev_rout.
Example

You activate the trace for connection number 4 by sending the command saprouter -t "on 4" to the active SAProuter.

Then you call saprouter ‑l to display the connections. You get the following output:

SAP Network Interface Router running on port 3299 (PID = 1576962) Started on: Wed Apr 13 09:00:10 2005 ID CLIENT | PARTNER service ------------------------------+------------------------------- 7 localhost | (no partner) 6 10.18.203.8 | 10.17.74.118 3227 4 *10.18.203.8 | 10.17.74.118 3227 2 10.18.203.8 | 10.17.74.118 3227 Total no. of clients: 7 Working directory : /usr/sap/PRD/work Routtab : ./saprouttab
         

The * is the trace for connection 4.