Logging (was Re: PostgreSQL 7.0-2 RPMset released.)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Thomas Good <tomg(at)admin(dot)nrnet(dot)org>, pgsql-ports(at)postgreSQL(dot)org, "PostgreSQL::General List" <pgsql-general(at)postgreSQL(dot)org>, teg(at)redhat(dot)com, Richard Smith <ozric(at)tampabay(dot)rr(dot)com>
Subject: Logging (was Re: PostgreSQL 7.0-2 RPMset released.)
Date: 2000-05-22 04:19:45
Message-ID: 12555.958969185@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-general pgsql-hackers pgsql-ports

Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> writes:
> The real problem with redirecting the postmaster output is the issue
> of log rolling, which is impossible to do in the 'classic'
> stderr/stdout redirect UNLESS you throw down postmaster when rolling
> the log (unless you know a trick I don't).

Yes. I think ultimately we will have to do some logging support code of
our own to make this work the way we want. My thought at the moment is
there's nothing wrong with logging to stderr, as long as there's some
code somewhere that periodically closes stderr and reopens it to a new
log file. There needn't be a lot of code involved, we just need a
well-thought-out spec for how it should work. Comments anyone?

regards, tom lane

In response to

Responses

Browse pgsql-announce by date

  From Date Subject
Next Message Giles Lean 2000-05-22 06:43:00 Re: Logging (was Re: PostgreSQL 7.0-2 RPMset released.)
Previous Message Lamar Owen 2000-05-22 02:26:54 Re: PostgreSQL 7.0-2 RPMset released.

Browse pgsql-general by date

  From Date Subject
Next Message Giles Lean 2000-05-22 06:43:00 Re: Logging (was Re: PostgreSQL 7.0-2 RPMset released.)
Previous Message Tatsuo Ishii 2000-05-22 04:15:11 Re: Re: Does Psql support Chinese?

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-05-22 04:25:28 Re: Last call for comments: fmgr rewrite [LONG]
Previous Message Bruce Momjian 2000-05-22 04:18:20 Re: Last call for comments: fmgr rewrite [LONG]

Browse pgsql-ports by date

  From Date Subject
Next Message Giles Lean 2000-05-22 06:43:00 Re: Logging (was Re: PostgreSQL 7.0-2 RPMset released.)
Previous Message Lamar Owen 2000-05-22 02:26:54 Re: PostgreSQL 7.0-2 RPMset released.