PreviousNext

Using a Routing File

If a file called

dce-local-path/var/svc/routing

exists, the contents of the file (if in the proper format) will be used to determine the routing of messages written by the serviceability mechanism.

The default location of the serviceability routing file is normally:

/opt/dcelocal/var/svc/routing

However, you can specify a different location for the file by setting the value of the environment variable DCE_SVC_ROUTING_FILE to the complete desired path name.

The routing file contains lines that specify the routing desired for the various kinds of messages (based on message severity level). Each line consists of three fields as follows:

severity:output_form:destination[:application-defined][; . . . ]

You can supply multiple routings by specifying additional output_form:destination pairs as a semi-colon-separated list.

In the routing file, blank lines beginning with the # character are treated as comments.