| From: | Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com> |
|---|---|
| To: | runner <runner(at)winning(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: How do you stop the log from rotating on restart? |
| Date: | 2011-03-20 07:16:51 |
| Message-ID: | AANLkTin9QZnJ2JWsXNq2w9KkHY5L9mJNEA-NrdzH9Cbz@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Sat, Mar 19, 2011 at 8:00 PM, runner <runner(at)winning(dot)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 <http://www.enterprisedb.com/> Corporation
The Enterprise PostgreSQL <http://www.postgresql.org/> Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Reynold Xin | 2011-03-20 07:20:55 | a question about row estimation in postgres |
| Previous Message | ray | 2011-03-20 04:40:09 | Database Design for Components and Interconnections |