From: Alexander Vysokovskih <av@ural.org>
To: kevin kempter <kevin@kevinkempterllc.com>
To: pgsql-admin@postgresql.org
Subject: Re: postgres, syslog and freeBSD
Date: Fri, 30 May 2008 14:05:20 +0600
Message-ID: <483FB540.5010902@ural.org> (raw)
In-Reply-To: <0AF6C4FA-FC04-4AC1-8603-7E5596301F62@kevinkempterllc.com>
References: <0AF6C4FA-FC04-4AC1-8603-7E5596301F62@kevinkempterllc.com>
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
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: av@ural.org, kevin@kevinkempterllc.com
Subject: Re: postgres, syslog and freeBSD
In-Reply-To: <483FB540.5010902@ural.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