Re: Logging for 2 instances of PostgreSQL

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: George Weaver <gweaver(at)shaw(dot)ca>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Logging for 2 instances of PostgreSQL
Date: 2016-12-01 00:04:36
Message-ID: CAKFQuwbDBOHnOfRu5AACCt30wGHjm=E+2ZZeCF_QG38iWcDijw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Nov 30, 2016 at 4:01 PM, George Weaver <gweaver(at)shaw(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Patrick B 2016-12-01 01:05:18 Re: Wal files - Question | Postgres 9.2
Previous Message Michael Rasmussen 2016-11-30 23:14:19 maintaining backwards compatibility for to_regclass argument type change from cstring to text