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: (view raw, whole thread or download thread mbox)
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

Thanks for any tips.

Wells Oliver


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-2017 The PostgreSQL Global Development Group