Logging in the driver - Mailing list pgsql-jdbc

From Dave Cramer
Subject Logging in the driver
Date
Msg-id 002c01c15d65$84887520$8201a8c0@inspiron
Whole thread Raw
Responses Re: Logging in the driver  (Gunnar Rønning <gunnar@polygnosis.com>)
List pgsql-jdbc
I am looking at trying to debug the driver for staroffice.

Unless someone can tell me otherwise, this requires logging. Currently
the driver has a rudimentary mechanism for logging

DriverManager.println()

This is ok, but it doesn't provide for various levels of debugging.

One possibility is to use something like log4j, but given the recent
distaste for adding binaries to the download I am reluctant to add a
library.

At this point I will probably add for my own purposes a simple logging
system that can be controlled by level.

A while ago someone posted a message which suggested that they had added
instrumentation to the driver. If this person is still on the list,
please contact me.

Cheers,

Dave


pgsql-jdbc by date:

Previous
From: "Dave Cramer"
Date:
Subject: Proposal to remove Serialize from the JDBC driver
Next
From: Gunnar Rønning
Date:
Subject: Re: Logging in the driver