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

Re: Postgres Log rotation not working in 8.0.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pallav Kalva <pkalva(at)deg(dot)cc>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Postgres Log rotation not working in 8.0.2
Date: 2005-04-19 14:23:16
Message-ID: 21270.1113920596@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Pallav Kalva <pkalva(at)deg(dot)cc> writes:
> Tom Lane wrote:
>> What I suspect happened is that it rotated last Thursday midnight, but
>> since %U hadn't changed since Monday, it overwrote the same file it was
>> using before.  Check to see what the oldest entry in the file is ...
>> 
>     It didnt overwrite the file, the last log entry on the file is from 
> 2005-04-11 which is last monday.

You mean the server hasn't actually emitted any messages since last
Monday?  I think it only considers rotating the file when it actually
has something to write in it ...

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Pallav KalvaDate: 2005-04-19 14:32:21
Subject: Re: Postgres Log rotation not working in 8.0.2
Previous:From: John DeSoiDate: 2005-04-19 13:50:33
Subject: Re: Missing commands

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