Logging in the driver

From: "Dave Cramer" <dave(at)fastcrypt(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Logging in the driver
Date: 2001-10-25 14:57:59
Message-ID: 002b01c15d65$6ff546b0$8201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Henshall, Stuart - WCP 2001-10-25 14:59:53 Re: Using PostgreSQL and Access?
Previous Message Dave Cramer 2001-10-25 14:42:29 Proposal to remove Serialize from the JDBC driver

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2001-10-25 14:58:33 Logging in the driver
Previous Message Dave Cramer 2001-10-25 14:42:29 Proposal to remove Serialize from the JDBC driver