Re: JDBC Logging & log4j

From: Gunnar Rønning <gunnar(at)polygnosis(dot)com>
To: "otisg" <otisg(at)iVillage(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC Logging & log4j
Date: 2002-03-18 15:53:49
Message-ID: m2g02xrhwy.fsf@smaug.polygnosis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

* "otisg" <otisg(at)iVillage(dot)com> wrote:
|
| I don't have time to go into details now, but Jakarta's Commons logging
| project allows one to use different logging components, which may allow
| PgSQL JDBC developers to write an abstraction that would allow for easy
| switching between logging components (you can sue Log4J or this or that
| or nothing, you can get the jar or not, etc.). Sorry, I'm in a rush, but
| if you look at Jakarta's Commons logging you can see for yourself.

You can also do that with the log4j package which in fact is the main
logging package at Jakarta. But that is not the point at hand here. Do
we actually want the inevitable performance hit we will get from putting
more logging in there ? If we cannot use a preprosessor to turn logging
of at compile time, then the answer is no. Else yes.

--
Gunnar Rønning - gunnar(at)polygnosis(dot)com
Senior Consultant, Polygnosis AS, http://www.polygnosis.com/

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-03-18 16:12:26 Re: Scrolling through cursors
Previous Message Peter V Cooper 2002-03-18 15:51:38 Re: Scrolling through cursors