Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group