Re: Feature proposal: distinguish each PostgreSQL instance in the event log

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "MauMau" <maumau307(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Feature proposal: distinguish each PostgreSQL instance in the event log
Date: 2011-05-10 22:55:47
Message-ID: 2212.1305068147@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"MauMau" <maumau307(at)gmail(dot)com> writes:
>> "MauMau" <maumau307(at)gmail(dot)com> writes:
>>> I've encountered one problem on Windows. I need to support running all of
>>> my
>>> products on one host simultaneously. Plus, I need to log messages in
>>> syslog/event log. On Linux, I can distinguish the messages of one product
>>> and those of other products by setting syslog_ident in postgresql.conf.
>>> On
>>> the other hand, I can't do that on Windows: all of the PostgreSQL
>>> instances
>>> use the same fixed event source name "PostgreSQL".

>>> SO I'd like to propose a trivial feature which allows users to set event
>>> source.

BTW, what will this accomplish exactly that couldn't be accomplished by
setting log_line_prefix to include the desired identifier?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-05-10 23:10:02 Re: Infinity bsearch crash on Windows
Previous Message Peter Geoghegan 2011-05-10 22:49:52 Re: Infinity bsearch crash on Windows