pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lamar Owen <lamar.owen@wgcr.org>
To: benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
Cc: pgsql-admin@postgresql.org
Subject: Re: logs
Date: Wed, 25 Apr 2001 21:03:39 -0400
Message-ID: <3AE773EB.8C73D124@wgcr.org> (raw)
References: <GCDAKQ$IMttWUxkMN1UkGH68lXksNMlWc_AsTwKOkeQidUaMYV1s2Ka1xdJ0@voila.fr>

"benoit.le-dizes@voila.fr" wrote:
> 
> I want to view events about my databases on a log file

For version 7.0.x in the RPM distribution:
1.)	Enable syslog in pg_options (see documentation on the levels
necessary)
2.)	Add a line to /etc/syslog.conf for local1 to go to the file you
want.
3.)	Restart postmaster.

This should work, IIRC.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11



view thread (6+ messages)  latest in thread

Message-ID: <3AE773EB.8C73D124@wgcr.org>
Permalink:  ../3AE773EB.8C73D124@wgcr.org/
Also on:    postgresql.org/message-id/3AE773EB.8C73D124@wgcr.org

 · 

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: lamar.owen@wgcr.org, benoit.le-dizes@voila.fr
  Subject: Re: logs
  In-Reply-To: <3AE773EB.8C73D124@wgcr.org>

* 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