pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andy Shellam <andy.shellam-lists@mailnetwork.co.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: 8.3 RC1 - Logging and filenames
Date: Sat, 12 Jan 2008 12:21:43 -0500
Message-ID: <9228.1200158503@sss.pgh.pa.us> (raw)
In-Reply-To: <33671a790801120818i31f126b9ueac31f33ddb23063@mail.gmail.com>
References: <33671a790801101445j7f3c8644wf41c1e6fced8bedc@mail.gmail.com>
	<12716.1200010137@sss.pgh.pa.us>
	<20080110162258.4b0d4991@commandprompt.com>
	<12963.1200011400@sss.pgh.pa.us>
	<33671a790801120818i31f126b9ueac31f33ddb23063@mail.gmail.com>

"Andy Shellam" <andy.shellam-lists@mailnetwork.co.uk> writes:
> Many services use a single log file and just keep adding to it - that's the
> way I'd prefer to set PostgreSQL up, simply so I can predict what the log
> file's name is.  Our rotation system will then rotate the log and keep the
> name in the same format as all our other services.

I wonder exactly how your rotation system is going to accomplish that.
PG doesn't support re-opening its logfile on SIGHUP (and even if it did,
you'd have to find and SIGHUP all the relevant processes ... at the same
time ...)

			regards, tom lane



view thread (6+ messages)

Message-ID: <9228.1200158503@sss.pgh.pa.us>
Permalink:  ../9228.1200158503@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9228.1200158503@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andy.shellam-lists@mailnetwork.co.uk
  Subject: Re: 8.3 RC1 - Logging and filenames
  In-Reply-To: <9228.1200158503@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox