From: | Jie Liang <jie(at)stbernard(dot)com> |
---|---|
To: | 'Joe Conway' <mail(at)joeconway(dot)com>, Jie Liang <jie(at)stbernard(dot)com> |
Cc: | "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>, pgsql-sql <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Syslog |
Date: | 2002-03-14 20:13:49 |
Message-ID: | 7C760DAA511DC74B99E7D22189F786F1906DB1@MAIL01.stbernard.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers pgsql-sql |
I did everything as you did, however, when start the postmaster,
I got following:
FATAL 1: 'syslog' is not a valid option name.
Jie
-----Original Message-----
From: Joe Conway [mailto:mail(at)joeconway(dot)com]
Sent: Thursday, March 14, 2002 11:27 AM
To: Jie Liang
Cc: 'pgsql-admin(at)postgresql(dot)org'; pgsql-sql
Subject: Re: [ADMIN] Syslog
Jie Liang wrote:
> I did, it didn't work.
>
> Jie Liang
Works for me. Did you change postgresql.conf? Here's what mine looks like.
#
# Syslog
#
# requires ENABLE_SYSLOG
syslog = 1 # range 0-2
syslog_facility = 'LOCAL0'
syslog_ident = 'postgres'
From the online docs:
SYSLOG (integer)
PostgreSQL allows the use of syslog for logging. If this option is
set to 1, messages go both to syslog and the standard output. A setting
of 2 sends output only to syslog. (Some messages will still go to the
standard output/error.) The default is 0, which means syslog is off.
This option must be set at server start.
To use syslog, the build of PostgreSQL must be configured with the
--enable-syslog option.
See:
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/runtime-config.h
tml
Joe
From | Date | Subject | |
---|---|---|---|
Next Message | Zhang, Anna | 2002-03-14 20:33:54 | seq scan on indexed column |
Previous Message | Joe Conway | 2002-03-14 19:27:16 | Re: Syslog |
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2002-03-14 20:14:31 | Re: Client/Server compression? |
Previous Message | Paul Ramsey | 2002-03-14 20:08:11 | Re: Client/Server compression? |
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Elphick | 2002-03-14 21:17:05 | Re: [SQL] Syslog |
Previous Message | Joe Conway | 2002-03-14 19:27:16 | Re: Syslog |