Database log

Поиск
Список
Период
Сортировка
Искать

Database log

От:
Jean-Christophe Pazzaglia <jc.pazzaglia@albourne.com>
Дата:
Вложения:


Hi,

we tried to switch the log on by lauching the postmaster
with -d 5 redirected to a file but this file is deseperatly empty,
what it's wrong ? is the process writing to an other file or
do we made a mistake with the arguments ?

thanks in advance

regards,

jc

Re: Database log

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Jean-Christophe Pazzaglia writes:

> we tried to switch the log on by lauching the postmaster
> with -d 5 redirected to a file but this file is deseperatly empty,
> what it's wrong ? is the process writing to an other file or
> do we made a mistake with the arguments ?

Don't use the -S option.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


Re: Database log

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Jean-Christophe Pazzaglia  writes:
> we tried to switch the log on by lauching the postmaster
> with -d 5 redirected to a file but this file is deseperatly empty,

If you're using -S, stop doing so ...
		regards, tom lane

Re: Database log

От:
The Hermit Hacker <scrappy@hub.org>
Дата:

try using the pg_options file itself, which, if you compile --with-syslog
support, will allow you to write to syslog. the main benefit being, you
can rotate your log files, which you can't if you do a redirect to a file



On Fri, 29 Sep 2000, Jean-Christophe Pazzaglia wrote:

> 
> 
> Hi,
> 
> we tried to switch the log on by lauching the postmaster
> with -d 5 redirected to a file but this file is deseperatly empty,
> what it's wrong ? is the process writing to an other file or
> do we made a mistake with the arguments ?
> 
> thanks in advance
> 
> regards,
> 
> jc

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 


FAQ