|
|
DCE 1.2.1 has an improved feature of Serviceability. This feature is helpful in
debugging any problems under different sub components of DCE.
The default location for this file is /opt/dcelocal/var/svc/routing.
The DCE_SVC_ROUTING_FILE environment variable can be used to name an
alternate location for the file. The file is consulted if no switch is given on
the command line or if no environment variable (SVC_level or
SVC_comp_DBG) is found when a DCE process is started. Leading whitespace
is ignored, as is any line whose first non-whitespace character is a #.
Production messages are parsed as:
<level>:<where>:<parameter>
<level> is FATAL ERROR WARNING NOTICE NOTICE_VERBOSE or *
(meaning all)
<where> is STDERR STDOUT FILE (or TEXTFILE) BINFILE DISCARD
<parameter> is the filename, where "%ld" becomes the process-id
Send all messages to the console:
*. FILE:/dev/console
If FILE or BINFILE ends with ".n.m", then at most "n" files and at most "m"
messages for each file will be written, where ".n" will be appended to each
generation of the file. To keep the last 1000 NOTICE messages for all programs,
with 100 messages in each of 10 files:
NOTICE: FILE.10.100:/var/log/syslog
Multiple routings for the same severity level can be specified by simply adding
the additional desired routings to form a semicolon-separated list of
<where>:<parameter> pairs.
Debug messages are parsed as:
<comp>:<level>:<where>:<parameter>
<comp> is the component (rpc, sec, cds, dts, dhd, ...)
<level> is a comma-separated list of sub-component levels for
each component.
<where> and parameter are as above.
Each component can have its own entry. Each subcomponent level has the form
"<subcomp>.n", where "n" is 1 to 9; these are parsed in order, so
put subcomponent wildcard entries first.
For example, to enable tracing for different components at different levels.
dts:*.9:FILE:/tmp/logs/%ld.dts
rpc:*.3:FILE:/tmp/logs/%ld.rpc
sec:*.4:FILE:/tmp/logs/%ld.sec
dhd:*.7:FILE:/tmp/logs/%ld.dhd
cds:*.9:FILE:/tmp/logs/%ld.cds
|