Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 563AF2E017F for ; Sat, 31 May 2008 01:36:17 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 66200-01-6 for ; Sat, 31 May 2008 01:36:03 -0300 (ADT) Received: from mx3.hub.org (mx3.hub.org [206.223.169.73]) by developer.postgresql.org (Postfix) with ESMTP id A3A212E0065 for ; Fri, 30 May 2008 05:27:08 -0300 (ADT) X-Greylist: delayed 00:19:25.231935 by SQLgrey-1.7.5 Received: from mail.ural.org (opalih-15-r4-c1-315.ekb.unitline.ru [85.198.84.114]) by mx3.hub.org (Postfix) with ESMTP id 19B9637B4F6 for ; Fri, 30 May 2008 05:27:08 -0300 (ADT) Received: from [85.115.166.247] (helo=[192.168.110.11]) by mail.ural.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1K1zcu-00035a-NB; Fri, 30 May 2008 14:06:16 +0600 Message-ID: <483FB540.5010902@ural.org> Date: Fri, 30 May 2008 14:05:20 +0600 From: Alexander Vysokovskih User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: kevin kempter , pgsql-admin@postgresql.org Subject: Re: postgres, syslog and freeBSD References: <0AF6C4FA-FC04-4AC1-8603-7E5596301F62@kevinkempterllc.com> In-Reply-To: <0AF6C4FA-FC04-4AC1-8603-7E5596301F62@kevinkempterllc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/253 X-Sequence-Number: 29337 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