Re: log_filename_prefix --> log_filename + strftime() - Mailing list pgsql-patches

From Jan Wieck
Subject Re: log_filename_prefix --> log_filename + strftime()
Date
Msg-id 4131CE4C.2060202@Yahoo.com
Whole thread Raw
In response to Re: log_filename_prefix --> log_filename + strftime()  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: log_filename_prefix --> log_filename + strftime()  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-patches
On 8/29/2004 5:12 AM, Andreas Pflug wrote:

> Tom Lane wrote:
>> Andreas Pflug <pgadmin@pse-consulting.de> writes:
>>
>>>Tom Lane wrote:
>>>
>>>>I can see the value of not needing any cron daemon to remove old logs.
>>
>>
>>>No other logs on your system to purge?
>>
>>
>> The DBA isn't necessarily also root.
>
> Interesting this argument comes from you.. :-)
>
> Tasks like purging old log files is certainly not a job that needs to be
> implemented in the backend; instead, an external database maintenance
> agent should do that.

You must have misunderstood something here. The proposal doesn't
implement any logfile purging feature, but allows to setup a
configuration that automatically overwrites files in a rotating manner,
if the DBA so desires. I can't see how you're jumping to logfile purging
from that.


Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #

pgsql-patches by date:

Previous
From: Jan Wieck
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()
Next
From: Maksim Likharev
Date:
Subject: Re: Win32 bug fix