Re: Sudden semi-deterministic disconnection between queries

From: Kris Jurka <books(at)ejurka(dot)com>
To: Peter Schuller <peter(dot)schuller(at)infidyne(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Sudden semi-deterministic disconnection between queries
Date: 2004-03-11 09:29:26
Message-ID: Pine.BSO.4.56.0403110427290.13729@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 11 Mar 2004, Peter Schuller wrote:

> On Wednesday 10 March 2004 14.49, Richard Huxton wrote:
>
> > Don't use it myself, but there are examples in the source distribution that
> > seem to turn debugging on. Would the line below do anything for you:
> > DriverManager.setLogStream(System.err);
>
> I'll have a go and see what I get. Thanks a lot!
>

This will only direct the log to a particular location, to actually
generate a log you need to add a loglevel=2 parameter to your url, like
so:

jdbc:postgresql://localhost:5432/dbname?loglevel=2

Kris Jurka

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Nagy 2004-03-11 10:45:11 "make check" fails for 7.4.2 checked out from CVS
Previous Message Peter Schuller 2004-03-11 09:12:44 Re: Sudden semi-deterministic disconnection between queries