From: | Aarni Ruuhimäki <aarni(dot)ruuhimaki(at)kymi(dot)com> |
---|---|
To: | "Delao, Darryl W" <ddelao(at)ou(dot)edu> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Postgres Remote Syslog |
Date: | 2003-04-24 18:45:37 |
Message-ID: | 200304241845.37693.aarni.ruuhimaki@kymi.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
---------- Forwarded Message ----------
Subject: Re: [GENERAL] [NOVICE] Postgres Syslog
Date: Thu, 3 Apr 2003 14:30:00 -0500
From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: "Delao, Darryl W" <ddelao(at)ou(dot)edu>, "'Steve Crawford'"
<scrawford(at)pinpointresearch(dot)com>, "'pgsql-novice(at)postgresql(dot)org'"
<pgsql-novice(at)postgresql(dot)org>, "'pgsql-general(at)postgresql(dot)org'"
<pgsql-general(at)postgresql(dot)org>
On Monday 31 March 2003 09:02, Delao, Darryl W wrote:
> How about sending log messages to a single file. I see a file under
> var/log called pgsql, but it has nothing in it. What do I need to enable
> in the postgreql.conf to start logging to a local file?
You do this in the _syslog_ configuration, not in the PostgreSQL
configuration. That is just the way syslog works: PostgreSQL contacts the
local syslogd, and logs its message using the syslog facility you define in
postgresql.conf. What syslog does with that message is determined by
/etc/syslog.conf. That could be any one of all sorts of things, including,
but not limited to, logging to a single file, logging to a remote syslog
server, logging to the system console, logging to a printer, etc.....and it's
all controlled in /etc/syslog.conf. So 'man syslog.conf' and see what you
need to do.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly
-------------------------------------------------------
--
Aarni Ruuhimäki
Megative Tmi
KYMI.com
Pääsintie 26
45100 Kouvola
info(at)kymi(dot)com / aarni(dot)ruuhimaki(at)kymi(dot)com
05 - 3755 035 / 050 - 4910 037
-------------------------------
Linux RedHat 7.3. / KDE 3.0
-------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Eckermann | 2003-04-24 19:07:54 | Re: ODBC & Access [Try 2] |
Previous Message | fabrice | 2003-04-24 17:32:09 | stored procedure from Access |