Go to main content

Oracle® Solaris Cluster Geographic Edition Data Replication Guide for Oracle Data Guard

Exit Print View

Updated: June 2017
 
 

Enabling Debugging for Runtime Messages

This section provides information to enable debug messages for the Oracle Data Guard control shell scripts as well as for the common agent container, and to verify that debugging is enabled.

How to Enable Debugging for Runtime Messages

Perform this task on each cluster node where you want debugging active for Oracle Data Guard data replication.

  1. Assume the root role on the cluster node.
  2. Determine whether debugging is active for Oracle Data Guard replication with Geographic Edition.
    # grep info /etc/syslog.conf
    #

    Debugging is active if *.info is set in the /etc/syslog.conf file.

  3. If debugging is inactive, add the *.info setting to the /etc/syslog.conf file.
  4. Verify the addition of the *.info setting to the /etc/syslog.conf file.
    # grep info /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit,*.info /var/adm/messages
    #
  5. Restart the system-log service.
    # svcadm restart system-log

Next Steps

To disable debugging, remove the *.info setting from the /etc/syslog.conf file and restart the system-log service.