rotatelog / logrotate with PostgreSQL

Johnson, Shaunn <sjohnson6@bcbsm.com>

From: "Johnson, Shaunn" <SJohnson6@bcbsm.com>
To: pgsql-general@postgresql.org
Date: 2002-09-23T14:51:14Z
Lists: pgsql-general
Howdy:

Running PostgreSQL 7.2.1 on RedHat Linux 7.2 kernel 2.4.7.

Can someone send an example of how they have the 
logrotate / rotatelog script working with PostgreSQL?
I'm looking at a few things and I can't seem to
get it to work.

Also, is there an easy way to tell if PostgreSQL have
been configured with "--enable-syslog"?  If I have that,
then I can just use the syslog.conf and collect logs 
that way.

Thanks!

-X