Обсуждение: How to specify a log file when running pg_ctl as a service?

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

How to specify a log file when running pg_ctl as a service?

От
"Steve McWilliams"
Дата:
Hello,

I am running Postgresql-8.0.0beta4 and would like to know if there is any
recommended way of specifying a log file for postmaster output when
running pg_ctl.exe as a service?  The "-l" option does not seem to work.

Thanks in advance.

Steve McWilliams




Re: How to specify a log file when running

От
Mark Kirkwood
Дата:
I think the following postgresql.conf settings are what you want:

redirect_stderr = true
log_directory, log_filename....


regards

Mark



Steve McWilliams wrote:

>Hello,
>
>I am running Postgresql-8.0.0beta4 and would like to know if there is any
>recommended way of specifying a log file for postmaster output when
>running pg_ctl.exe as a service?  The "-l" option does not seem to work.
>
>Thanks in advance.
>
>Steve McWilliams
>
>