Controlling Logging Capabilities by Using SMF
The ldmd/logctl
property specifies the property values that you can also set by using the ldm set-logctl
command. Separate each property with a colon character (:
).
For example, use the svccfg
command to set the cmd
property value to resp
and to set the debug
property value to on
. Then, make the changes take affect by refreshing and restarting the ldmd
service as follows:
primary# svccfg -s ldmd setprop ldmd/logctl = "cmd=resp:debug=on" primary# svcadm refresh ldmd primary# svcadm restart ldmd