Re: [PATCHES] serverlog function (log_destination file)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>, mha(at)sollentuna(dot)net, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: [PATCHES] serverlog function (log_destination file)
Date: 2004-06-10 20:37:26
Message-ID: 200406102037.i5AKbQG26288@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andreas Pflug wrote:
> Tom Lane wrote:
>
> >Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> >
> >
> >>Looks good to me. The only issue I saw was that the default file name
> >>mentioned in postgresql.conf doesn't match the actual default.
> >>
> >>
> >
> >I'm really not happy with the concept that the postmaster overrides
> >its stderr direction.
> >
> >
> >
> I agree, that's why I implemented it as *additional* log_destination.

One idea would be to send a message to stderr when this option is used
stating that everything is going to 'filename'.

Also can we close/reopen the file on SIGHUP. My guess is we can't
because of all the backends accessing the output file.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2004-06-10 20:54:54 Re: [PATCHES] serverlog function (log_destination file)
Previous Message Andreas Pflug 2004-06-10 20:36:04 Re: [PATCHES] serverlog function (log_destination file)

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2004-06-10 20:54:54 Re: [PATCHES] serverlog function (log_destination file)
Previous Message Andreas Pflug 2004-06-10 20:36:04 Re: [PATCHES] serverlog function (log_destination file)