From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | jose(dot)morcillo(dot)valenciano(at)gmail(dot)com |
Subject: | BUG #19025: PostgreSQL log is not rotated |
Date: | 2025-08-19 10:21:28 |
Message-ID: | 19025-2b475b7d74db87f1@postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 19025
Logged by: José Antonio Morcillo Valenciano
Email address: jose(dot)morcillo(dot)valenciano(at)gmail(dot)com
PostgreSQL version: 16.2
Operating system: Red Hat Enterpr Linux 5.14.0-427.35.1.el9_4.x86_64
Description:
Hi folks!
We have configured our log rotating policy as follows:
logging_collector = on
log_destination = 'stderr'
log_directory = '/postgresql/16/log/cpdm-cluster86'
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
log_rotation_age = 1d
log_rotation_size = 250MB
log_truncate_on_rotation = on
But the log is 16GB and no rotation has happened:
[PRO] $ ls -lh
total 16G
-rw-r--r-- 1 postgres postgres 16G Aug 19 12:16
postgresql-2025-07-12_001207.log
I have been searching any bug but I could not find it. Any ideas?
Thanks!!!
Regards,
José Antonio
From | Date | Subject | |
---|---|---|---|
Next Message | Sandeep Thakkar | 2025-08-19 10:35:15 | Re: PostgreSQL Windows Installer defaults to "English_United States.1252" when choosing locale starting with "English" |
Previous Message | Amit Kapila | 2025-08-19 09:37:37 | Re: BUG #18988: DROP SUBSCRIPTION locks not-yet-accessed database |