How to Route Serviceability Messages
Serviceability messages can be written to any of the normal output destinations. You can specify routing for serviceability messages in any of the following four ways:
· Through the dcecp log object, if the server supports the remote serviceability interface
· By the contents of a routing file
· By the contents of an environment variable
· By command line flags (usually -w), if supported by the server
Note: Each of the methods accepts the string syntax form for serviceability routing specifications. In addition, dcecp allows you to use Tcl (Tool Command Language)
syntax, which is easier to use when writing scripts.
Routing a message actually consists of specifying two things:
· How the message should be processed (that is, the form it should be put in)
· Where the message should be sent (its destination).
The two specifications are sometimes closely interrelated, and sometimes specifying a certain destination implies that the message must be put into a certain form. This fact allows certain
combinations to be abbreviated.
The ways to route serviceability messages are described separately in the following topics.
More:
Using the dcecp log Object
Using a Routing File
Using Environment Variables
|