X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 60DF3D1B16A for ; Sat, 17 Jul 2004 13:20:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 85676-07 for ; Sat, 17 Jul 2004 16:20:37 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 20103D1B199 for ; Sat, 17 Jul 2004 13:20:36 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i6HGKVgu013223; Sat, 17 Jul 2004 12:20:31 -0400 (EDT) To: "Joost Kraaijeveld" Cc: pgsql-admin@postgresql.org Subject: Re: Logging PostgreSQL output In-reply-to: References: Comments: In-reply-to "Joost Kraaijeveld" message dated "Sat, 17 Jul 2004 17:25:26 +0200" Date: Sat, 17 Jul 2004 12:20:31 -0400 Message-ID: <13222.1090081231@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/198 X-Sequence-Number: 14266 "Joost Kraaijeveld" writes: > I want to log all PostgreSQL's output in a seperate file. Is it > possible to use the syslog system to do that or is the only way to use > the stdout method? If it is possible to use the syslog system, how > should I do this (I have tried several things but nothing I tried > worked)? You should be able to configure your syslog daemon to do that; read its man page. regards, tom lane