Re: Sudden semi-deterministic disconnection between queries - Mailing list pgsql-general

From Kris Jurka
Subject Re: Sudden semi-deterministic disconnection between queries
Date
Msg-id Pine.BSO.4.56.0403110427290.13729@leary.csoft.net
Whole thread Raw
In response to Re: Sudden semi-deterministic disconnection between queries  (Peter Schuller <peter.schuller@infidyne.com>)
List 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

pgsql-general by date:

Previous
From: Peter Schuller
Date:
Subject: Re: Sudden semi-deterministic disconnection between queries
Next
From: Csaba Nagy
Date:
Subject: "make check" fails for 7.4.2 checked out from CVS