syslogにログをはく
vi /usr/local/pgsql/data/postgresql.conf
log_destination = 'syslog'
log_statement = 'all'
syslogの設定にも追加
vi /etc/syslog.conf
local0.* /var/log/postgresql.log
syslog再起動
/etc/init.d/syslog restart
syslogにログをはく
vi /usr/local/pgsql/data/postgresql.conf
log_destination = 'syslog'
log_statement = 'all'
syslogの設定にも追加
vi /etc/syslog.conf
local0.* /var/log/postgresql.log
syslog再起動
/etc/init.d/syslog restart