编辑文件 /etc/syslog.conf。
在文件 /etc/syslog.conf 中,将 daemon.notice 更改为 daemon.debug。
# grep daemon /etc/syslog.conf *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator |
将 daemon.notice 更改为 daemon.debug 并重新启动 syslogd。命令 grep daemon /etc/syslog.conf 将产生以下输出,其中显示现已设置 daemon.debug。
# grep daemon /etc/syslog.conf *.err;kern.debug;daemon.debug;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator # # pkill -1 syslogd |
编辑 /opt/SUNWscswa/etc/config 文件。
在文件 /opt/SUNWscswa/etc/config 中,将 DEBUG= 更改为 DEBUG=ALL 或 DEBUG=resource。
# cat /opt/SUNWscswa/etc/config # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Usage: # DEBUG=<RESOURCE_NAME> or ALL # DEBUG=ALL # |
要取消激活调试,请以相反顺序执行本过程中的步骤。