PreviousNext

Routing by Environment Variable

Serviceability message routing can also be specified by the contents of certain environment variables. If environment variables are used, the routes they specify will override any conflicting routings specified by a routing file.

The routings are specified (on the basis of severity level) by putting the desired routing instructions in the following environment variables:

· SVC_FATAL

· SVC_ERROR

· SVC_WARNING

· SVC_NOTICE

· SVC_NOTICE_VERBOSE

Each variable should contain a single string in the following format:

out_form:dest;[out_form:dest ...] [GOESTO:{sev | comp}]

where out_form and dest have the same meanings and form as described in Using a Routing File. Multiple routings can be specified with semicolon-separated additional strings specifying the additional routes, as shown.