Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eAMKfAA02996 for ; Wed, 22 Nov 2000 15:41:10 -0500 (EST) (envelope-from olly@lfix.co.uk) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by thor.tht.net (8.9.3/8.9.3) with ESMTP id QAA62168 for ; Wed, 22 Nov 2000 16:29:56 GMT (envelope-from olly@lfix.co.uk) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 13ygXm-000F24-0V; Wed, 22 Nov 2000 20:31:02 +0000 Received: from lfix.co.uk (olly@localhost [127.0.0.1]) by linda.lfix.co.uk (8.11.1/8.11.1/Debian 8.11.0-6) with ESMTP id eAMKPk609371; Wed, 22 Nov 2000 20:25:46 GMT Message-Id: <200011222025.eAMKPk609371@linda.lfix.co.uk> X-Authentication-Warning: linda.lfix.co.uk: Host olly@localhost [127.0.0.1] claimed to be lfix.co.uk X-Mailer: exmh version 2.2 06/23/2000 (debian 2.2-1) with nmh-1.0.4+dev X-URL: http://www.lfix.co.uk/oliver X-face: "xUFVDj+ZJtL_IbURmI}!~xAyPC"Mrk=MkAm&tPQnNq(FWxv49R}\>0oI8VM?O2VY+N7@F- KMLl*!h}B)u@TW|B}6 cc: pgsql-admin@postgresql.org Subject: Re: [GENERAL] Logging In-reply-to: Message from "Anders R. Sveen" of Mon, 20 Nov 2000 19:57:11 +0100. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 22 Nov 2000 20:25:44 +0000 From: "Oliver Elphick" X-Archive-Number: 200011/138 X-Sequence-Number: 147 "Anders R. Sveen" wrote: >Hey, > >I've set my pg_options file to write log messages, but it only logs to >/var/log/messages instead of /var/log/postgresql wich remains empty. > >Why is that and how can i change it? Maybe it's a sylog question, but >beeing new to it and all i can't really figure things out. The docs say: Messages printed to syslog use the log facility LOG_LOCAL0. You need to configure syslogd to send those messages to postgresql; edit /etc/syslog.conf (see the man page for syslogd and syslog.conf) to contain something like: local0.* -/var/log/postgresql You may want to change this to be more selective... -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47 GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "Can two walk together, except they be agreed?" Amos 3:3