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

From David G. Johnston
Subject Re: Logging for 2 instances of PostgreSQL
Date
Msg-id CAKFQuwbDBOHnOfRu5AACCt30wGHjm=E+2ZZeCF_QG38iWcDijw@mail.gmail.com
Whole thread Raw
In response to Logging for 2 instances of PostgreSQL  (George Weaver <gweaver@shaw.ca>)
List pgsql-general
On Wed, Nov 30, 2016 at 4:01 PM, George Weaver <gweaver@shaw.ca> wrote:
Good afternoon,

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.

Is it possible to have a separate log for the second instance in the new cluster?

​Yes, it is.  It would take some effort to not have it behave that way.

I'd suggest you try to supply more details if you want others to help you figure out either where you went wrong or what you are mis-understanding.  The actual commands you use, and how you obtained PostgreSQL, would be a good place to start.  Detailing the file system hierarchy as it stands wouldn't hurt either.

David J.

pgsql-general by date:

Previous
From: Michael Rasmussen
Date:
Subject: maintaining backwards compatibility for to_regclass argument type change from cstring to text
Next
From: Patrick B
Date:
Subject: Re: Wal files - Question | Postgres 9.2