Tracing the SBC Configuration Process
You can trace the following SBC configuration process events and record trace results in a log file:
- common
- configuration
- device monitor
- IPC
- memory pool
- user interface
All log files are placed in the /var/log directory. When a trace file reaches its maximum size, a .0 is appended to the filename, then a new file is created with a .1 appended, and so on. When the maximum number of trace files is reached, the oldest trace file is overwritten.
To configure tracing of the SBC configuration process:
- Access the traceoptions configuration.[edit]user@host# edit system processes sbc-configuration-process traceoptions[edit system processes sbc-configuration-process traceoptions]
- Access the traceoptions trace file configuration.[edit system processes sbc-configuration-process traceoptions]user@host# edit file[edit system processes sbc-configuration-process traceoptions file]
- Specify a name for the trace file. [edit system processes sbc-configuration-process traceoptions file]user@host# set filename sbc-config-trace
- Set the maximum number of trace files. [edit system processes sbc-configuration-process traceoptions file]user@host# set files 10
- Set user access to the trace log file.
Use set no-world-readable to prevent users from accessing
the log file, or use set world-reabable to allow any user
to read the log file.[edit system processes sbc-configuration-process traceoptions file]user@host# set no-world-readable
- Access the traceoptions flag configuration
to define trace level options.[edit system processes sbc-configuration-process traceoptions file]user@host# up[edit system processes sbc-configuration-process traceoptions]user@host# edit flag
- Set trace level options for the components
of the SBC configuration process that you want to trace. For example:[edit system processes sbc-configuration-process traceoptions flag]user@host# set common debug[edit system processes sbc-configuration-process traceoptions flag]user@host# set configuration debug[edit system processes sbc-configuration-process traceoptions flag]user@host# set memory-pool debug
