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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Log files cluttered with jdbc3/4 for pg8.2


  • From: Mario Splivalo <mario(dot)splivalo(at)mobart(dot)hr>
  • To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • Cc: pgsql-jdbc(at)postgresql(dot)org
  • Subject: Re: Log files cluttered with jdbc3/4 for pg8.2
  • Date: Fri, 22 Jun 2007 15:21:34 +0200
  • Message-id: <1182518494.16014.15.camel@localhost.localdomain> <text/plain>

On Wed, 2007-06-20 at 11:16 -0400, Tom Lane wrote: 
> Mario Splivalo <mario(dot)splivalo(at)mobart(dot)hr> writes:
> > I finaly see the actuall parametars the function was called with, but, I
> > have too much lines for a simple SELECT.
> 
> Well, if you set log_min_messages to DEBUG, as you evidently have,
> you're going to get a pretty chatty log.  You might want to rethink
> your log_duration threshold as well.

Yes, I have log_min_messages to DEBUG, but if I set it to INFO, NOTICE,
WARNING or ERROR I still have PARSE LOG, BIND LOG/BIND DETAIL entries. I
haven't been able to found what exactley they are, and I'd realy like to
not have them in my log files.

I need to have log_duration at 0 so I log EVERY call from the jdbc to
the postgresql because that's excellent way of debuging the dataflow
from the middle-tier to the application.

I guess I'll be using pg7.4 JDBC driver for development, and use 8.2
JDBC in production (there I have log_duration set to around 600).

Could anyone point me on what exactly PARSE LOG and BIND LOG entries
are?

	Mario




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group