Re: logfile

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: "H(dot)J(dot) Sanders" <hjs(at)rmax(dot)nl>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: logfile
Date: 2006-06-06 21:53:20
Message-ID: 20060606215320.GF45331@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

  • logfile at 2006-06-06 12:37:11 from H.J. Sanders

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2006-06-06 21:54:04 Re: delete
Previous Message Jim C. Nasby 2006-06-06 21:39:28 Re: