How do you stop the log from rotating on restart?
Postgres 9.0.3 on Solaris 10
Can't seem to figure out how to stop the postgres log file from rotating on a restart of services.
log_truncate_on_rotation is commented out
log_rotation_age = 1d
We just want it to rotate once a day no matter haw many times we restart.
Don't see anything else that would seem to affect log file rotation
On Sat, Mar 19, 2011 at 8:00 PM, runner <runner@winning.com> wrote:
Postgres 9.0.3 on Solaris 10
Can't seem to figure out how to stop the postgres log file from rotating
on a restart of services.log_truncate_on_rotation is commented out
log_rotation_age = 1dWe just want it to rotate once a day no matter haw many times we restart.
Don't see anything else that would seem to affect log file rotation
You'll have to play with the format in log_filename GUC.
HTH,
--
Gurjeet Singh
EnterpriseDB <http://www.enterprisedb.com/> Corporation
The Enterprise PostgreSQL <http://www.postgresql.org/> Company