20050414 Thursday April 14, 2005

Flying our Own Planes...

... Or in this case loggers.

I thought I was clever by looking ahead and using the Jakarta Commons Logging component for my part of this Project That I Can't Really Talk About. The idea was to push the decision of which logger to use as far down the road as possible. It was integrating very nicely with the web server's logger (which is based on java.util.logging), so I wasn't too concerned about it.

But other people were concerned about it.

So, I went back and replaced all the commons logging calls with j.u.l calls. It was mostly tedious work since Commons Logging is designed to look like Log4J. The big difference were in level names and how to log an exception.

Thankfully, this was done with a good reason in mind since I'll be re-using a performance logger from a different sub-team, which is also built on top of j.u.l. That's a welcome change from the usual "it's open source! We can't use open source unless it's reviewed by legal!" or "Just because."

Sigh.

-- Fred
( Apr 14 2005, 10:00:20 AM MDT ) Permalink Comments [0]
Trackback URL: http://blogs.sun.com/fredjean/entry/flying_our_own_planes
Comments:

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed