View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000267 | Pgpool-II | Bug | public | 2016-12-07 19:42 | 2017-08-29 09:41 |
| Reporter | mangou128 | Assigned To | Muhammad Usama | ||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Platform | Linux | OS | Redhat | OS Version | 6.7 |
| Product Version | 3.5.4 | ||||
| Summary | 0000267: log_destination is set to syslog but pgpool does not use /dev/log | ||||
| Description | Hi, We have configured pgpool to log via syslog, but pgpool still opens the logfile directly without going through /dev/log # lsof | grep /var/log/pgpool.log | grep -v pgpool # lsof | grep /var/log/pgpool.log | head pgpool 3161 postgres 1w REG 253,5 1082483 786858 /var/log/pgpool.log pgpool 3161 postgres 2w REG 253,5 1082483 786858 /var/log/pgpool.log pgpool 6093 postgres 1w REG 253,5 1082483 786858 /var/log/pgpool.log [root@fr0-datalab-p09 pgpool-II]# lsof | grep /dev/log rsyslogd 35559 root 0u unix 0xffff880a2abd32c0 0t0 817303060 /dev/log | ||||
| Steps To Reproduce | Use the following configuration # grep log /etc/pgpool-II/pgpool.conf log_destination = 'syslog' log_connections = off log_hostname = off log_statement = off log_per_node_statement = off log_standby_delay = 'none' syslog_facility = 'LOCAL0' syslog_ident = 'pgpool' logdir = '/var/tmp' # rpm -qf /etc/pgpool-II/pgpool.conf pgpool-II-pg94-3.5.4-1pgdg.rhel6.x86_64 # rpm -qa | grep pgpool pgpool-II-pg94-3.5.4-1pgdg.rhel6.x86_64 pgpool-II-release-3.5-1.noarch | ||||
| Tags | No tags attached. | ||||