syslogにログをはく
vi /usr/local/pgsql/data/postgresql.conflog_destination = 'syslog' log_statement = 'all'
syslogの設定にも追加
vi /etc/syslog.conflocal0.* /var/log/postgresql.log
syslog再起動
/etc/init.d/syslog restart
No comments:
Post a Comment