From hjs@rmax.nl Tue Jun 6 12:45:44 2006 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 24E5E9FA2E6 for ; Tue, 6 Jun 2006 09:45:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 86146-09 for ; Tue, 6 Jun 2006 09:45:34 -0300 (ADT) X-Greylist: delayed 00:09:20.697188 by SQLgrey- Received: from michael.eatserver.nl (michael.eatserver.nl [212.203.14.103]) by postgresql.org (Postfix) with ESMTP id D7B059F9316 for ; Tue, 6 Jun 2006 09:45:34 -0300 (ADT) Received: from dvipc (82-170-251-187.dsl.ip.tiscali.nl [82.170.251.187]) (authenticated bits=0) by michael.eatserver.nl (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k56Ca9ue028866 for ; Tue, 6 Jun 2006 14:36:09 +0200 From: "H.J. Sanders" To: Subject: logfile Date: Tue, 6 Jun 2006 14:37:11 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01C68976.B217FAA0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Importance: Normal X-Virus-Scanned: by amavisd-new X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/23 X-Sequence-Number: 21985 This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C68976.B217FAA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I assume I do not understand the manual right (or my kind of english). In PGSQL 7.4 I only want error situations in the logfile, and if an error occurs as much as possible information like e.g. the sql statement. I entered in postgresql.conf: client_min_messages = error log_min_messages = error log_error_verbosity = terse log_min_error_statement = error log_statement = true log_timestamp = true but now all sql statements are always logged. What did I do wrong? Can someone give the proper settings? Many thanks Henk Sanders ------=_NextPart_000_000C_01C68976.B217FAA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I assume I do not = understand=20 the manual right (or my kind of english).
 
In PGSQL 7.4 I only = want error=20 situations in the logfile, and if an error occurs as much as possible=20 information like e.g. the sql statement.
 
I entered in=20 postgresql.conf:
 
client_min_messages = =3D=20 error
log_min_messages = =3D=20 error
log_error_verbosity = =3D=20 terse
log_min_error_statement =3D=20 error
 
log_statement =3D=20 true
log_timestamp =3D=20 true
 
but now all sql = statements are=20 always logged.
 
What did I do = wrong? Can=20 someone give the proper settings?
 
Many = thanks
 
Henk=20 Sanders
 
 

------=_NextPart_000_000C_01C68976.B217FAA0-- From jnasby@pervasive.com Tue Jun 6 21:53:34 2006 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8C3169FB1B9 for ; Tue, 6 Jun 2006 18:53:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 72088-02 for ; Tue, 6 Jun 2006 18:53:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id AEEC09FA13E for ; Tue, 6 Jun 2006 18:53:23 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 5085756483; Tue, 6 Jun 2006 16:53:21 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Tue, 6 Jun 2006 16:53:20 -0500 Date: Tue, 6 Jun 2006 16:53:20 -0500 From: "Jim C. Nasby" To: "H.J. Sanders" Cc: pgsql-admin@postgresql.org Subject: Re: logfile Message-ID: <20060606215320.GF45331@pervasive.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060606:hjs@rmax.nl::sEzxnQrDQba6/CLB:0000004K1v X-Hashcash: 1:20:060606:pgsql-admin@postgresql.org::sO+27Ddtkpv+VrTQ:00000000000 00000000000000000000000025I2 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/36 X-Sequence-Number: 21998 On Tue, Jun 06, 2006 at 02:37:11PM +0200, H.J. Sanders wrote: > I assume I do not understand the manual right (or my kind of english). > > In PGSQL 7.4 I only want error situations in the logfile, and if an error > occurs as much as possible information like e.g. the sql statement. > > I entered in postgresql.conf: > > client_min_messages = error > log_min_messages = error > log_error_verbosity = terse > log_min_error_statement = error > > log_statement = true > log_timestamp = true > > but now all sql statements are always logged. > > What did I do wrong? Can someone give the proper settings? log_statement = false. See docs for log_min_error_statement. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461 From eduardoreis@pjf.mg.gov.br Fri Oct 29 19:56:19 2010 Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id DE6571337B64 for ; Fri, 29 Oct 2010 16:56:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 14035-05 for ; Fri, 29 Oct 2010 19:56:13 +0000 (UTC) X-Greylist: delayed 00:10:06.899474 by SQLgrey-1.7.6 Received: from webshield01.pjf.mg.gov.br (webshield01.pjf.mg.gov.br [187.72.160.221]) by mail.postgresql.org (Postfix) with SMTP id 018AE1336971 for ; Fri, 29 Oct 2010 16:56:11 -0300 (ADT) Received: from (unknown [192.168.254.5]) by webshield01.pjf.mg.gov.br with smtp id 7578_0132_260a94ae_e395_11df_81fa_002219d6be93; Fri, 29 Oct 2010 17:45:57 -0200 Received: from localhost (localhost [127.0.0.1]) by internet01.pjf.mg.gov.br (Postfix) with ESMTP id 10AB06C9E7 for ; Fri, 29 Oct 2010 17:44:22 -0300 (BRT) X-Virus-Scanned: Debian amavisd-new at pjf.mg.gov.br Received: from internet01.pjf.mg.gov.br ([127.0.0.1]) by localhost (internet01.pjf.mg.gov.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YW-H1+yqYYwr for ; Fri, 29 Oct 2010 17:44:21 -0300 (BRT) Received: from P01140047 (unknown [10.0.12.49]) by internet01.pjf.mg.gov.br (Postfix) with SMTP id AF8016C4E9 for ; Fri, 29 Oct 2010 17:44:21 -0300 (BRT) Message-ID: From: =?iso-8859-1?Q?Eduardo_S=E1_dos_Reis?= To: Subject: Logfile Date: Fri, 29 Oct 2010 17:46:08 -0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_016D_01CB7791.2B210A60" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 2 X-NAI-Spam-Score: 0.5 X-NAI-Spam-Rules: 2 Rules triggered FROM_NAME=0.5, RV3663=0 X-NAI-Spam-Version: 2.2.0.9286 : core <3663> : streams <559952> : uri <710569> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.791 tagged_above=-10 required=5 tests=BAYES_50=0.8, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/219 X-Sequence-Number: 35960 Esta é uma mensagem em várias partes no formato MIME. ------=_NextPart_000_016D_01CB7791.2B210A60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have several databases installed on my Postgre 8.4.2. I set the postgresql.conf so that all connections are logged in the log = file. Now I need to create another database but do not want the connections in = this new database to be recorded in the Log Files. Can anyone help me? Eduardo ------=_NextPart_000_016D_01CB7791.2B210A60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have several = databases=20 installed on my Postgre 8.4.2.
I set the postgresql.conf so that all = connections are=20 logged in the log file.
Now I need to create another database but do = not want=20 the connections in this new database to be recorded in the Log Files.=20 Can anyone help = me?
 
Eduardo
------=_NextPart_000_016D_01CB7791.2B210A60-- From Kevin.Grittner@wicourts.gov Fri Oct 29 20:13:43 2010 Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id DBA9F1337B78 for ; Fri, 29 Oct 2010 17:13:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 01672-01 for ; Fri, 29 Oct 2010 20:13:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 693501337B77 for ; Fri, 29 Oct 2010 17:13:36 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 29 Oct 2010 15:13:36 -0500 Message-Id: <4CCAE49E0200002500036FBE@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 29 Oct 2010 15:13:33 -0500 From: "Kevin Grittner" To: "=?ISO-8859-15?Q?Eduardo=20S=E1=20dos=20Reis?=" , Subject: Re: Logfile References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/220 X-Sequence-Number: 35961 Eduardo Sá dos Reis wrote: > I have several databases installed on my Postgre 8.4.2. > I set the postgresql.conf so that all connections are logged in > the log file. > Now I need to create another database but do not want the > connections in this new database to be recorded in the Log Files. > Can anyone help me? You might need to put the new database is a separate cluster -- both the documentation and some quick testing suggest that the setting can not be set at the database level. -Kevin