Re: logfile problem?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: logfile problem?
Дата
Msg-id 200308300456.h7U4uhO26688@candle.pha.pa.us
обсуждение исходный текст
Ответ на logfile problem?  ("tw_vincent" <tw_vincent@yahoo.com.tw>)
Список pgsql-admin
tw_vincent wrote:
> Dear All:
>
>    I start postgresql with "/app/pgsql/bin/pg_ctl start -l
>    /app/pgsql/logfile -D /app/pgsql/data", when I use "cat
> /dev/null > /app/pgsql/logile" to clear logfile, I can't clear
> logfile. How can I clear the logfile, thank you!

The problem is that the log file is still being written to by the
postmaster. You can pipe into the rotatelogs script that is part of
Apache, or use syslog.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-admin по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Disk Utilization Increases And Time for Vacuum Increases.
Следующее
От: alexander v p
Дата:
Сообщение: Re: eRserver