How to configure vxconfigd debug logging in the /etc/vx/vxvm-startup script.
To enable debug log file or syslog logging on a permanent basis, you can edit the /etc/vx/vxvm-startup script that starts the VxVM configuration daemon, vxconfigd.
To configure logging in the startup script, comment out the following lines to enable or disable the corresponding feature in vxconfigd:
opts="$opts -x syslog"
# use syslog for console messages
#opts="$opts -x log"
# messages tovxconfigd.log
#opts="$opts -x logfile=/foo/bar" # specify an alternate logfile
#opts="$opts -x timestamp"
# timestamp console messages
#To turn on debugging console output, uncomment the following line.
# The debug level can be set higher for more output. The highest
# debug level is 9.
#debug=1
# enable debugging console output
The opts="$opts -x syslog" string is usually commented out so that vxconfigd uses syslog logging by default. Inserting a # character at the beginning of the line turns off syslog logging for vxconfigd.
By default, vxconfigd is started at boot time with the -x syslog option. This redirects vxconfigd console messages to syslog. If you want to retain this behavior when restarting vxconfigd from the command line, include the -x syslog argument, as restarting vxconfigd does not preserve the option settings with which it was previously running. Similarly, any Veritas Volume Manager operations that require vxconfigd to be restarted may not retain the behavior that was previously specified by the option settings in the /etc/vx/vxvm-startup script.
Please note that a debug level of 9 is quite verbose and the output will occupy a lot of space in whatever file system contains the debug log. Turn off the debug when finished.