View Issue Details

IDProjectCategoryView StatusLast Update
0000630Pgpool-IIGeneralpublic2020-09-10 14:41
Reporterjayakumar Assigned Topengbo  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionopen 
PlatformRedhat Linux 7.2OSRedhat Linux 7.2OS VersionRedhat Linux 7.2
Product Version3.7.10 
Summary0000630: pgpool activities not recording in pgppol.log instead writing in messages
DescriptionBecause of the increased size of pgpool.log file we tried various options to create new log file.

We have stopped the pgpool service and then tried below options.

1) Stopped the pgpool service and renamed the existing log file, after that started the service. After starting the service pgpool activities are logging in new renamed log file only.

2) Then we stopped service and used gzip in linux so that log file was disappeared by creating pgpool.log.gz file. After that when starting the pgpool service, activities are not logging to pgpool.log and recording in messages file.

Please help, how to make logging again to pgpool.log file.

Thanks in advance.
Steps To Reproduce1) Stop the pgool service.
2) gzip pgpool.log or move pgpool.log file to other location from default pgpool location.
3) Start the pgpool service.
4) Now pgpool activities are not recording in pgpool.log and recording in messages file.
Additional InformationPlease help me to ensure pgpool activities are again logging to ~/pgpool.log.
TagsNo tags attached.

Activities

jayakumar

2020-08-10 01:09

reporter  

pgpool_log.JPG (51,829 bytes)   
pgpool_log.JPG (51,829 bytes)   

pengbo

2020-08-10 21:06

developer   ~0003465

rsyslog has been opening the old log file which is compressed.
After you compressed log file, you need to send signal to rsyslog to reopen the new file.

Run the following command:

    # /bin/kill -HUP `cat /var/run/syslogd.pid`

administrator

2020-09-01 09:47

administrator   ~0003554

Have you resolved this issue?
If you have resolved this issue, I am going to close this one.

jayakumar

2020-09-08 20:29

reporter   ~0003558

Please close the issue. Thanks.

Issue History

Date Modified Username Field Change
2020-08-10 01:09 jayakumar New Issue
2020-08-10 01:09 jayakumar File Added: pgpool_log.JPG
2020-08-10 21:06 pengbo Note Added: 0003465
2020-08-10 21:06 pengbo Assigned To => pengbo
2020-08-10 21:06 pengbo Status new => feedback
2020-08-10 21:06 pengbo Description Updated
2020-08-10 21:06 pengbo Steps to Reproduce Updated
2020-09-01 09:47 administrator Note Added: 0003554
2020-09-08 20:29 jayakumar Note Added: 0003558
2020-09-08 20:29 jayakumar Status feedback => assigned
2020-09-10 14:41 pengbo Status assigned => closed