Sun Cluster Data Service for SAP Web Application Server Guide for Solaris OS

ProcedureHow to Activate Debugging for Sun Cluster HA for SAP J2EE Engine

  1. Edit the file /etc/syslog.conf.

    In the file /etc/syslog.conf, change daemon.notice to daemon.debug.

    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                     operator

    Change daemon.notice to daemon.debug and restart syslogd. The command grep daemon /etc/syslog.conf issues the following output, which shows that daemon.debug has now been set.

    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.debug;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                    operator
    # pkill -1 syslogd
  2. Edit the file /opt/SUNWscswa/etc/config.

    In the file /opt/SUNWscswa/etc/config, change DEBUG= to DEBUG=ALL or 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
Deactivating Debugging

To deactivate debugging, perform the steps in this procedure in the reverse order.