Re: Win32: missing log file option for pg_ctl running as service

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Win32: missing log file option for pg_ctl running as service
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE475CCB@algol.sollentuna.se
обсуждение исходный текст
Ответ на Win32: missing log file option for pg_ctl running as service  ("Steve McWilliams" <smcwilliams@EmprisaNetworks.com>)
Список pgsql-bugs
>When running pg_ctl as a windows service (WinXP Pro), I don't=20
>see any way
>currently to configure a log file for it to use.  I am using=20
>the following
>syntax to register pg_ctl as a service:
>
>pg_ctl register -N MyService -U myUser -P myPword -D myDataDir=20
>-w -o "-i"
>
>A "-l myLog" option passed in would get ignored, according to=20
>pg-ctl.c.=20
>Is there some other way that we should be configuring a log file when
>running pg_ctl as a service on windows?

Yes, see the redirect_stderr parameter in postgresql.conf.
It should be enabled by default in the pginstaller installation.

//Magnus

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

Предыдущее
От: "Steve McWilliams"
Дата:
Сообщение: Win32: missing log file option for pg_ctl running as service
Следующее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1255: cannot connect remotely