Re: postmaster and logrotate

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dima Tkach <dmitry(at)openratings(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: postmaster and logrotate
Date: 2003-12-22 17:56:15
Message-ID: 200312221756.hBMHuFf29038@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dima Tkach wrote:
> Hi, everybody!
>
> I was wonderring if there is a way to make logrotate work with postgres
> logs?
> More precisely, the question is - is there any way to tell a running
> postmaster process to reopen its log file?
> I tried kill -HUP ... but that doesn't seem to do anything...
>
> Is there just no way to do what I want?

Docs say pipe into logrotate:

http://developer.postgresql.org/docs/postgres/logfile-maintenance.html

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dan Langille 2003-12-22 18:21:53 Re: PostgreSQL speakers needed for OSCON 2004
Previous Message Steven D.Arnold 2003-12-22 17:36:09 Re: bug in query planning?