Re: Postgres/Postmaster logging and log rotation

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: William L James <BJames(at)inetmi(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres/Postmaster logging and log rotation
Date: 2001-03-07 17:13:40
Message-ID: 3AA66C44.7C646F87@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Peter Eisentraut wrote:
> William L James writes:
> > script - su -l postgresql -c "/usr/bin/pg_ctl -D $PGDATA -p
> > /usr/bin/postmaster start >>/var/log/postgresql 2>&1"), but
> > when the weekly logrotate.d function kicks in, Postgres logging
> > stops.

> The logging probably continues to go to the rotated-away file. The
> typical log rotation cron job presumes that the daemons close the log

The logrotate.d script included in the RPM is intended for a
syslog-generated logfile.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jie Liang 2001-03-07 18:05:13 how to reload a function
Previous Message Peter Eisentraut 2001-03-07 16:44:34 Re: Postgres/Postmaster logging and log rotation