Re: WIP: Separate log file for extension

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Antonin Houska <ah(at)cybertec(dot)at>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP: Separate log file for extension
Date: 2017-08-29 09:23:31
Message-ID: CAD21AoAAV1z3Ev6kGJ4tetW5g9AOBrAJjL8Ev5=VSTdH74mxdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 25, 2017 at 4:12 PM, Antonin Houska <ah(at)cybertec(dot)at> wrote:
> Attached is a draft patch to allow extension to write log messages to a
> separate file.

Does it allow postgres core code to write log messages to multiple log
files as well? I can imagine a use case where we want to write log
messages to separate log files by error level or purpose (server log
and SQL log etc).

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2017-08-29 10:04:33 Re: Re: [PATCH] Fix drop replication slot blocking instead of returning error
Previous Message Mithun Cy 2017-08-29 09:04:40 Re: POC: Cache data in GetSnapshotData()