pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Naomi Walker <nwalker@eldocomp.com>
To: pgsql-admin@postgresql.org
Subject: Postgres Log Rolling
Date: Wed, 20 Feb 2002 11:46:32 -0700
Message-ID: <4.2.2.20020220114127.00aca100@ecint.ecinet.com> (raw)
In-Reply-To: <001d01c1ba0a$a27f5e20$ed060080@jayantsrv>


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 




view thread (3+ messages)  latest in thread

Message-ID: <4.2.2.20020220114127.00aca100@ecint.ecinet.com>
Permalink:  ../4.2.2.20020220114127.00aca100@ecint.ecinet.com/
Also on:    postgresql.org/message-id/4.2.2.20020220114127.00aca100@ecint.ecinet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nwalker@eldocomp.com
  Subject: Re: Postgres Log Rolling
  In-Reply-To: <4.2.2.20020220114127.00aca100@ecint.ecinet.com>
  References: <001d01c1ba0a$a27f5e20$ed060080@jayantsrv> <4.2.2.20020220114127.00aca100@ecint.ecinet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox