Re: How do you stop the log from rotating on restart? - Mailing list pgsql-general

From Gurjeet Singh
Subject Re: How do you stop the log from rotating on restart?
Date
Msg-id AANLkTin9QZnJ2JWsXNq2w9KkHY5L9mJNEA-NrdzH9Cbz@mail.gmail.com
Whole thread Raw
In response to How do you stop the log from rotating on restart?  (runner <runner@winning.com>)
List pgsql-general
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 = 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

You'll have to play with the format in log_filename GUC.

HTH,
--
Gurjeet Singh
EnterpriseDB Corporation
The Enterprise PostgreSQL Company

pgsql-general by date:

Previous
From: ray
Date:
Subject: Database Design for Components and Interconnections
Next
From: srikanth subramaniam
Date:
Subject: cannot connect to server