Turning on/off the logfile

Поиск
Список
Период
Сортировка
От Gerald Gutierrez
Тема Turning on/off the logfile
Дата
Msg-id 5.1.0.14.0.20010601202144.00a883b8@mail.rchmd1.bc.wave.home.com
обсуждение исходный текст
Ответы Re: Turning on/off the logfile  (Andrew Sullivan <andrew@libertyrms.com>)
Список pgsql-general
PostgreSQL spits out logging information to stdout and stderr which can
then be piped to a file to act as a "log file". Is there a way to get
PostgreSQL to enable/disable this output without restarting the server?
Currently I have to edit /etc/rc.d/init.d/postgresql to run postgresql
with >mylogfile or >/dev/null, and restart the server.

If there isn't an ability to do this, I think I'll whip up a little script
that will read stderr/stdin but listen to signals and turn the output on or
off.

Thanks.

Gerald.


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

Предыдущее
От: Michael
Дата:
Сообщение: Databases compared at zend.com
Следующее
От: "Sergey E. Volkov"
Дата:
Сообщение: Re: Pgsql vs Interbase: Transaction benchmark