Postgres Log Rolling - Mailing list pgsql-admin

From Naomi Walker
Subject Postgres Log Rolling
Date
Msg-id 4.2.2.20020220114127.00aca100@ecint.ecinet.com
Whole thread Raw
In response to Time problem  ("Jaya Swarup" <jayas@bsil.com>)
Responses Re: Postgres Log Rolling
List pgsql-admin
This should be an easy one, but......

We need to start rolling our postgres error logs.  I wondered whether or
not I could pull the rug out from under postgres by just renaming the
pgsql.log to 'date'.log and then recreating (touch pgsql.log) the log.

I then vacuum'd a database (so it would write stuff in the log), and
noticed that the renamed log ('date'.log) was the one written to, not the
new pgsql.log.

Do I have to bounce the cluster to roll the log?   How should I be
performing this task?

--
Naomi Walker
Chief Information Officer
Eldorado Computing, Inc.
602-604-3100  ext 242


pgsql-admin by date:

Previous
From: "Gaetano Mendola"
Date:
Subject: Re: Postgresql 7.2 on Red-hat 7.1
Next
From: Tom Lane
Date:
Subject: Re: Postgres Log Rolling