Re: postgres, syslog and freeBSD

From: Alexander Vysokovskih <av(at)ural(dot)org>
To: kevin kempter <kevin(at)kevinkempterllc(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres, syslog and freeBSD
Date: 2008-05-30 08:05:20
Message-ID: 483FB540.5010902@ural.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

kevin kempter wrote:
> log_destination = 'syslog'
> #logging_collector = off
> syslog_facility = 'LOCAL0'
> syslog_ident = 'postgres'
> silent_mode = on
> log_min_duration_statement = 0
>
> Here's my /etc/syslog.conf file:
>
> LOCAL0.* /var/log/pgsql
>
> I dont see any files show up in /var/log
>
> what am I doing wrong?
According to man-page of syslog.conf the name of facility is "local0",
but not "LOCAL0":
----
The facility describes the part of the system generating the
message, and
is one of the following keywords: auth, authpriv, console, cron,
daemon,
ftp, kern, lpr, mail, mark, news, ntp, security, syslog, user, uucp and
local0 through local7.
----

Also it might be that syslog do not create this file, try to create it
by self:
# touch /var/log/pgsql

With regards,
Alexander Vysokovskih

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message kevin Rowe 2008-05-30 08:27:00 Norton 360 and missing pg_twophase, pg_tblspc
Previous Message CZUCZY Gergely 2008-05-30 07:38:51 Re: postgres, syslog and freeBSD