Definitive logrotate solution?

From: Wells Oliver <wellsoliver(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Definitive logrotate solution?
Date: 2012-04-11 22:20:34
Message-ID: CAOC+FBXFaNC7Ez4rSBFYqPKHdGx7=7xnD4G4b+Qua8Qx5Lmx7A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Might anyone share theirs? My log_rotation is set to 'stderr', and the log
files are being put into /var/log/postgresql.

My main concern is the postrotate action-- want to make sure the log is
properly rotated, unneeded older logs removed, and postgres... properly
bounced?

Thanks for any tips.

--
Wells Oliver
wellsoliver(at)gmail(dot)com

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2012-04-11 23:03:17 Re: Definitive logrotate solution?
Previous Message Kevin Grittner 2012-04-11 17:24:32 Re: Recovery mode for a WAL-based slave