xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: FOP's new image package in Commons?
Date Fri, 14 Dec 2007 07:46:54 GMT
Logging != exception handling

How many times was I happy that I could simply set some log category to
a more detailed logging level and debug things. This is a huge
productivity booster for me.

And how many times did I commit code with an accidental left-over
System.out.println in the code? :-(


On 14.12.2007 08:17:25 Tonny Kohar wrote:
> Hi,
> 
> On Dec 13, 2007 6:21 PM, Jeremias Maerki <dev@jeremias-maerki.ch> wrote:
> >
> > Hmmmm. What with the people who prefer Log4J and want everything logged
> > there? Commons Logging at least provides a switching central to route
> > the log traffic where you want it. I don't think that's so easy (and
> > readily available) with java.util.logging as with Commons Logging.
> >
> 
> I do not know how complex the things is, another way is dropping the
> logging requirement, so there will be no logging introduced at all,
> just simply java throw exceptions and lets the wrapper / wrapping
> application handle that exceptions in its own preferred logging
> mechanism
> 
> Cheers
> Tonny Kohar
> -- 
> Sketsa SVG Editor
> imagine, design, create ...
> http://www.kiyut.com



Jeremias Maerki


---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message