pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lamar Owen <lamar.owen@wgcr.org>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: William L James <BJames@inetmi.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres/Postmaster logging and log rotation
Date: Wed, 07 Mar 2001 12:13:40 -0500
Message-ID: <3AA66C44.7C646F87@wgcr.org> (raw)
References: <Pine.LNX.4.30.0103071741560.986-100000@peter.localdomain>

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



view thread (5+ messages)  latest in thread

Message-ID: <3AA66C44.7C646F87@wgcr.org>
Permalink:  ../3AA66C44.7C646F87@wgcr.org/
Also on:    postgresql.org/message-id/3AA66C44.7C646F87@wgcr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: lamar.owen@wgcr.org, peter_e@gmx.net, BJames@inetmi.com
  Subject: Re: Postgres/Postmaster logging and log rotation
  In-Reply-To: <3AA66C44.7C646F87@wgcr.org>
  References: <Pine.LNX.4.30.0103071741560.986-100000@peter.localdomain> <3AA66C44.7C646F87@wgcr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox