HA for PostgreSQL has a file named config that enables you to activate debugging for PostgreSQL resources. This file is in the /opt/SUNWscPostgreSQL/etc directory.
If your PostgreSQL resource is dependent on an Oracle Solaris Zones boot component resource, you are in an HA for Solaris Zones configuration. In any other case, you are in a global zone configuration.
# grep daemon /etc/syslog.conf *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator
If debugging is inactive, daemon.notice is set in the file /etc/syslog.conf of the appropriate zone.
If debugging is active, daemon.debug is set in the file /etc/syslog.conf.
# grep daemon /etc/syslog.conf *.err;kern.debug;daemon.debug;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator
# svcadm refresh svc:/system/system-log:default
DEBUG=ALL
DEBUG=resource name
DEBUG=resource name,resource name,…
# cat /opt/SUNWscPostgreSQL/etc/config # # Copyright (c) 2006,2012, Oracle and/or its affiliates. All rights reserved. # # Usage: # DEBUG=<RESOURCE_NAME> or ALL # DEBUG=ALL #