Re: Logging for 2 instances of PostgreSQL

From: George Weaver <gweaver(at)shaw(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Logging for 2 instances of PostgreSQL
Date: 2016-12-01 04:16:08
Message-ID: f62dcb56-abe4-0adf-51f6-65c59cc55b09@cleartagsoftware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Brenner 2016-12-01 04:48:41 No select privileges when not connecting from login postgres
Previous Message John R Pierce 2016-12-01 03:16:13 Re: Logging for 2 instances of PostgreSQL