Re: Postgres/Postmaster logging and log rotation - Mailing list pgsql-admin

From Lamar Owen
Subject Re: Postgres/Postmaster logging and log rotation
Date
Msg-id 3AA66C44.7C646F87@wgcr.org
Whole thread Raw
In response to Re: Postgres/Postmaster logging and log rotation  (Peter Eisentraut <peter_e@gmx.net>)
List 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

pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Postgres/Postmaster logging and log rotation
Next
From: Jie Liang
Date:
Subject: how to reload a function