Skip site navigation (1) Skip section navigation (2)

Re: 8.3 RC1 - Logging and filenames

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Andy Shellam" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk>, pgsql-admin(at)postgresql(dot)org
Subject: Re: 8.3 RC1 - Logging and filenames
Date: 2008-01-11 00:22:58
Message-ID: 20080110162258.4b0d4991@commandprompt.com (view raw or flat)
Thread:
Lists: pgsql-admin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 10 Jan 2008 19:08:57 -0500
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> "Andy Shellam" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk> writes:
> > What I want PostgreSQL to do is put a log file "postgresql.log" in
> > "/var/log/pgsql" - I have an application that handles log
> > rotations, so would prefer to do it with that, rather than have
> > PostgreSQL do the rotation.
> 
> You don't really have any choice about the matter --- Postgres will
> not use a single fixed filename because that would be guaranteed to
> lose log entries across a rotation.

Unless he is using syslog?

Joshua D. Drake



- -- 
The PostgreSQL Company: Since 1997, http://www.commandprompt.com/ 
Sales/Support: +1.503.667.4564   24x7/Emergency: +1.800.492.2240
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
SELECT 'Training', 'Consulting' FROM vendor WHERE name = 'CMD'


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHhrbjATb/zqfZUUQRAkN+AKCY+dQ9+zExF5Yx9BST22hgxVUzMQCdFqZd
0fqVMpSh9pGkLqeDvG+LTL8=
=XsVx
-----END PGP SIGNATURE-----

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2008-01-11 00:30:00
Subject: Re: 8.3 RC1 - Logging and filenames
Previous:From: Tom LaneDate: 2008-01-11 00:08:57
Subject: Re: 8.3 RC1 - Logging and filenames

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group