View Issue Details

IDProjectCategoryView StatusLast Update
0000267Pgpool-IIBugpublic2017-08-29 09:41
Reportermangou128 Assigned ToMuhammad Usama  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionopen 
PlatformLinuxOSRedhatOS Version6.7
Product Version3.5.4 
Summary0000267: log_destination is set to syslog but pgpool does not use /dev/log
DescriptionHi,

 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 ReproduceUse 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

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2016-12-07 19:42 mangou128 New Issue
2016-12-20 09:26 t-ishii Assigned To => Muhammad Usama
2016-12-20 09:26 t-ishii Status new => assigned
2017-08-29 09:41 pengbo Status assigned => closed