Re: rotatelogs integration in pg_ctl

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Thomas Swan <tswan(at)idigx(dot)com>
Cc: Andrew Hammond <ahammond(at)ca(dot)afilias(dot)info>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: rotatelogs integration in pg_ctl
Date: 2004-04-13 15:02:57
Message-ID: 20040413150257.GA17026@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 13, 2004 at 09:33:42 -0500,
Thomas Swan <tswan(at)idigx(dot)com> wrote:
>
> Is there a reason the postmasters cannot just close/reopen-recreate the
> log file when a SIGHUP or other signal is issued like apache? This would
> allow for almost any scheme for log rotation to be handled by the system
> or third party like logrotate and removes any duplicate effort between
> projects.

Wouldn't that break logs piped to a program?

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2004-04-13 15:03:49 Re: rotatelogs integration in pg_ctl
Previous Message Stephan Szabo 2004-04-13 14:47:09 Re: make == as = ?