Using Environment Variables
Serviceability message routing can also be specified by the contents of certain environment variables. If you use environment variables, the routings you 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
· SVC_BRIEF
Each variable should contain a single string in the format:
severity:output_form:destination[:application-defined][; . . . ]
You can supply multiple routings by specifying additional output_form:destination pairs as a semicolon-separated list.
|