Re: Logging for 2 instances of PostgreSQL

Поиск
Список
Период
Сортировка
От George Weaver
Тема Re: Logging for 2 instances of PostgreSQL
Дата
Msg-id f62dcb56-abe4-0adf-51f6-65c59cc55b09@cleartagsoftware.com
обсуждение исходный текст
Ответ на Re: Logging for 2 instances of PostgreSQL  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
On 30/11/2016 9:16 PM, John R Pierce wrote:
> On 11/30/2016 3:01 PM, George Weaver wrote:
>> I have set up 2 instances of PostgreSQL 9.6 on the same Windows
>> server.  I noticed when I ran initdb for the second instance that it
>> did not create a pg_log folder in the new cluster, and that all
>> logging is going to the pg_log folder in the original cluster.
>
> look at the postgresql.conf file in the 2nd instance, is the path to
> the log file directory hard coded?

No it wasn't.  Specifying the path in the .conf file did the trick.

Thanks John!
George


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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Logging for 2 instances of PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: maintaining backwards compatibility for to_regclass argument type change from cstring to text