Received: from leela.one-2-one.net (leela.one-2-one.net [217.115.142.65]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0QG18l33968 for ; Sat, 26 Jan 2002 11:01:08 -0500 (EST) (envelope-from twanger@bluetwanger.de) Received: from dsl-213-023-038-184.arcor-ip.net (dsl-213-023-038-184.arcor-ip.net [213.23.38.184]) by leela.one-2-one.net (8.11.0/8.11.0) with ESMTP id g0QG2RZ15100; Sat, 26 Jan 2002 17:02:27 +0100 Subject: Re: Logging in postgres From: Markus Bertheau To: Antony Stace Cc: pgsql-admin@postgresql.org In-Reply-To: <20020127005112.05f1f063.s45652001@yahoo.com> References: <20020126213004.627b47a1.s45652001@yahoo.com> <1012054987.1729.0.camel@saphir> <20020127001200.237bf1a9.s45652001@yahoo.com> <1012057529.1729.2.camel@saphir> <20020127005112.05f1f063.s45652001@yahoo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 (1.0.1-2) Date: 26 Jan 2002 16:42:57 +0100 Message-Id: <1012059778.1754.5.camel@saphir> Mime-Version: 1.0 X-Archive-Number: 200201/200 X-Sequence-Number: 3085 On Sat, 2002-01-26 at 16:51, Antony Stace wrote: > > > > > > log_connections = yes > > > log_timestamp = true > > > log_pid = true > > > syslog = 2 > > > > > > to my postgresql.conf file but it dosent seem to have caused any logging to occur in > > > > > > /var/log/postgresql > > > > > > Anything else I need to do? > > > > add > > > > debug_print_query = true > > > I just added > > debug_print_query > > restarted postgres and then did a few queries in the database. But nothing > is being logged in /var/log/postgresql. Any ideas what else might be wrong? hmm, that is my postgresql.conf: tcpip_socket = true port = 5432 hostname_lookup = false sort_mem = 128 shared_buffers = 12288 # min 16 fsync = off deadlock_timeout = 10000 wal_buffers = 64 # min 4 wal_files = 4 # range 0-64 log_connections = true log_timestamp = true log_pid = true debug_print_query = true debug_print_rewritten = false show_executor_stats = false show_query_stats = false what is different? btw: I presume we talk about 7.1.x Markus Bertheau