Re: Feature proposal: distinguish each PostgreSQL instance in the event log - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Feature proposal: distinguish each PostgreSQL instance in the event log
Date
Msg-id 2212.1305068147@sss.pgh.pa.us
Whole thread Raw
In response to Re: Feature proposal: distinguish each PostgreSQL instance in the event log  ("MauMau" <maumau307@gmail.com>)
Responses Re: Feature proposal: distinguish each PostgreSQL instance in the event log  (Dave Page <dpage@pgadmin.org>)
List pgsql-hackers
"MauMau" <maumau307@gmail.com> writes:
>> "MauMau" <maumau307@gmail.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


pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Infinity bsearch crash on Windows
Next
From: Tom Lane
Date:
Subject: Re: Infinity bsearch crash on Windows