From: | Eric Frazier <ef(at)kwinternet(dot)com> |
---|---|
To: | Peter Mount <peter(at)retep(dot)org(dot)uk> |
Cc: | PostgreSQL <pgsql-general(at)postgresql(dot)org>, Postgre JDBC <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: [JDBC] Logging Queries |
Date: | 2001-03-29 10:14:32 |
Message-ID: | 2.2.32.20010329101432.009f0ab0@kwinternet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-jdbc |
Hi,
Peter, is that new? I have used SetLogStream with your 7.1 beta 5 driver and
7.03 Postgress but didn't see any output from queries that I didn't put there?
Or could it have to do with my server config that I didn't see anything? I
mean no query info, I did see info on the driver and on the connection URLS etc.
Thanks,
Eric
At 10:20 AM 3/29/01 +0100, Peter Mount wrote:
>At 12:01 27/03/01 -0800, Hunter Hillegas wrote:
>>I'm having a problem with queries sent in from a Java program.
>>
>>Is there any way to have the server log the queries that are coming in so I
>>can see what's actually getting processed?
>
> From the server:
>Can't remember which, but -d1 or -d2 when you start the postmaster
>sometimes works (higher values show too much detail like the query plans etc).
>
> From within the driver: use DriverManager.setLogStream()
>
>PeterM
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
Frazier Consulting
http://www.kwinternet.com/eric
(250) 655 - 9513
From | Date | Subject | |
---|---|---|---|
Next Message | Marek Pętlicki | 2001-03-29 12:14:13 | Re: how to load a sql-file???? |
Previous Message | Karel Zak | 2001-03-29 09:30:29 | Re: stored procedure and timestamp |
From | Date | Subject | |
---|---|---|---|
Next Message | Marko Kreen | 2001-03-29 12:29:34 | Re: RE: Compiling |
Previous Message | Peter Mount | 2001-03-29 09:20:44 | Re: [JDBC] Logging Queries |