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

Re: Postgres Log rotation not working in 8.0.2

From: Pallav Kalva <pkalva(at)deg(dot)cc>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:32:21
Message-ID: 42651675.4020107@deg.cc (view raw or flat)
Thread:
Lists: pgsql-admin
Tom Lane wrote:

>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 ...
>
>			
>
I am sorry for the confusion, what i meant was the oldest entry on the 
log file was on last monday and most recent was this morning and the 
file didnt rotate yet.


In response to

Responses

pgsql-admin by date

Next:From: Rolf StaegeDate: 2005-04-19 14:38:44
Subject: postmaster hangs
Previous:From: Tom LaneDate: 2005-04-19 14:23:16
Subject: Re: Postgres Log rotation not working in 8.0.2

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