View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000631 | Pgpool-II | General | public | 2020-08-10 14:05 | 2020-09-14 14:39 |
| Reporter | gopivalusa | Assigned To | pengbo | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Platform | LINUX | OS | RHEL | OS Version | 7 |
| Product Version | 3.7.11 | ||||
| Summary | 0000631: pgpool activities not recording in pgppol.log | ||||
| Description | Because 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 nor messages whereas pgpool service is running. Please help, how to make logging again to pgpool.log file. Thanks in advance. | ||||
| Steps To Reproduce | 1) Stopped the pgool service. 2) gzip pgpool.log or move pgpool.log file to other location from default pgpool location. 3) Started the pgpool service. 4) Now pgpool activities are not recording in pgpool.log nor messages file. | ||||
| Additional Information | Please help me to ensure pgpool activities are again logging to ~/pgpool.log. | ||||
| Tags | logging | ||||
|
|
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` |
|
|
Have you resolved this issue? If you have resolved this issue, I am going to close this one. |
|
|
Close issue. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-08-10 14:05 | gopivalusa | New Issue | |
| 2020-08-10 14:05 | gopivalusa | Tag Attached: logging | |
| 2020-08-10 21:09 | pengbo | Note Added: 0003466 | |
| 2020-08-10 21:09 | pengbo | Assigned To | => pengbo |
| 2020-08-10 21:09 | pengbo | Status | new => feedback |
| 2020-09-01 09:49 | administrator | Note Added: 0003555 | |
| 2020-09-14 14:39 | pengbo | Status | feedback => closed |
| 2020-09-14 14:39 | pengbo | Note Added: 0003564 |