Skip site navigation (1) Skip section navigation (2)

Re: logging issue

From: Jerry Sievers <gsievers19(at)comcast(dot)net>
To: "Campbell\, Lance" <lance(at)illinois(dot)edu>
Cc: "pgsql-admin\(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: logging issue
Date: 2012-03-06 21:43:01
Message-ID: 87aa3tpfru.fsf@comcast.net (view raw or flat)
Thread:
Lists: pgsql-admin
"Campbell, Lance" <lance(at)illinois(dot)edu> writes:

> PostgreSQL 9.1.3
>
> I just moved our test database from PostgreSQL 9.0 to 9.1.  I also
> changed my log settings.  I am seeing every single SQL statement
> that PostgreSQL performs by my Java applications.  Is there some way
> to only display the details when there is an error?  I would assume
> yes.  But for some reason I am getting all SQL statements.  I just
> want the errors.  I have included below my settings for the logging
> section.  Any help would be greatly appreciated.  Thanks!
>
Change log_statement to 'none' and pg_ctl reload the server. 

-- 
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres(dot)consulting(at)comcast(dot)net
p: 305.321.1144

In response to

Responses

pgsql-admin by date

Next:From: Todd HuntDate: 2012-03-06 22:03:01
Subject: Looking for help on backing up a large database (500GB+) with LOBs
Previous:From: Campbell, LanceDate: 2012-03-06 21:04:23
Subject: logging issue

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group