Re: Logging for 2 instances of PostgreSQL - Mailing list pgsql-general

From George Weaver
Subject Re: Logging for 2 instances of PostgreSQL
Date
Msg-id f62dcb56-abe4-0adf-51f6-65c59cc55b09@cleartagsoftware.com
Whole thread Raw
In response to Re: Logging for 2 instances of PostgreSQL  (John R Pierce <pierce@hogranch.com>)
List 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 by date:

Previous
From: John R Pierce
Date:
Subject: Re: Logging for 2 instances of PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: maintaining backwards compatibility for to_regclass argument type change from cstring to text