Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0D507476073 for ; Tue, 24 Sep 2002 03:35:36 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 8C53C47603A for ; Tue, 24 Sep 2002 03:35:35 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 19EC7381641; Tue, 24 Sep 2002 03:35:35 -0400 (EDT) From: "Gaetano Mendola" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: logging queries Date: Tue, 24 Sep 2002 09:35:35 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 24 Message-ID: References: X-Complaints-To: news@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/250 X-Sequence-Number: 5789 ""Nick Fankhauser"" wrote in message news:NEBBLAAHGLEEPCGOBHDGOEHAFNAA.nickf@ontko.com... > Hi- > > I'd like to set the logging or debug level so that the text of the queries > that are executed show up in the log file. It seems to me that I recall this > being discussed before, but I can't find any specific references in the > runtime-config portion of the docs. > > Can someone tell me if this is possible & if so, what runtime settings are > needed? Well, in postgresql.conf put debug_level = 2 debug_print_query = true Ciao Gaetano