Re: [7.0.2] rotating log files ...

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: Mitch Vincent <mitch(at)venux(dot)net>
Cc: The Hermit Hacker <scrappy(at)hub(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: [7.0.2] rotating log files ...
Date: 2000-08-28 18:30:30
Message-ID: 20000828113030.W1209@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

* Mitch Vincent <mitch(at)venux(dot)net> [000828 11:28] wrote:
> Can you move the logfile then touch the original file to create an empty
> one?
>
> *shrug* just an idea :-)

that won't work, the shell has attached the process's stdout/err to
the file, you can even remove the file and the server will still have
an open reference to it and the space won't be reclaimed.

-Alfred

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Ryan 2000-08-28 18:31:29 Re: [7.0.2] rotating log files ...
Previous Message Alfred Perlstein 2000-08-28 18:27:38 Re: [7.0.2] rotating log files ...