If it makes you feel any better, java-logging is a strict superset of commons-logging, and includes support for other features that are interesting but completely unsupported in commons-logging land. (I think!)
So the mapping from java-logging onto commons-logging is lossless (minus the time to develop the converter), while the conversion to commons-logging would be both time-intensive, and would drop support for the kind of i18n support that martin uses.
I'll be honest, I like logging to the Java Logging API. It's consistent and guaranteed to be available. This commons-logging adapter seems like the best of all worlds right now.
--saul
________________________________
From: geoserver-devel-bounces@lists.sourceforge.net on behalf of Jody Garnett
Sent: Thu 4/19/2007 7:34 PM
To: Farber, Saul (ENV)
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] GSIP 13 - motion to vote
Thanks Saul - I was aware of the change to geotools. I just wished we
could do more and change GeoTools to use commons logging (rather then
java logging).
Jody
Farber, Saul (ENV) wrote:
Jody,
Actually, part of this GSIP is commiting code to geotools that supports "redirecting all java logging to a commons logger" It's really just tying the underlying geotools work into geoserver that's prompting the GSIP.
If you want commons logging in geotools (or any application that uses geotools) then just look at the org.geoserver.logging.LoggingStartupContextListener and you'll see exactly how to kick it off. Or look at the GSIP code examples!
--saul
________________________________
From: Jody Garnett [mailto:jgarnett@anonymised.com]
Sent: Thu 4/19/2007 6:58 PM
To: Farber, Saul (ENV)
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] GSIP 13 - motion to vote
Vote added; I am sorry there was not enough volunteer time to get common
logging into GeoTools.
Jody
Hey all,
So GSIP 13 has been languishing, waiting for 2.3.1 and 1.5.0 to be released by GeoTools and GeoServer respectively.
And now they're released!
So here's a motion to vote on GSIP 13 : http://docs.codehaus.org/display/GEOS/GSIP+13+-+Logging
The short endorsement is that I have log4j logging working quite well on geoserver trunk and geoserver 1.5.x right now. If you want to test how this will look or affect you, I can send patch bundles to interested parties.
--saul
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel