> Hi folks,
>
> Now that Jakarta has a super-lightweight logging package in
Jakarta-Commons,
> that is already being used by Tomcat4 and Struts, as well as many other
commons
> components, I propose we migrate to using that package for Slide as well.
>
> The commons-logging package has bindings to JDK1.4 logging, Log4J and
Avalon
> LogKit, and also provides a simple System.out logger like Slide does
currently
> with SimpleLogger.
>
> So in the spirit of code reuse and sharing between Jakarta projects, I
volunteer
> to do a step by step migration of the logging in Slide: First I'll keep
the
> current logging code in place, only deprecating it and adding the commons-
> logging support. As the next step the org.apache.slide.util.logger
package, the
> log4j-wrapper and all references to it will be completely removed and
replaced
> by equivalent commons-logging calls.
>
> All that only applies to the HEAD branch of Slide, of course.
> What do you think ?
>
> +1 from me, obviously.

Ok, but:
- if this happened only when commons-logging 1.0 was released, that would be
better
- Tomcat 4 doesn't use commons-logging yet, but has dependencies which use
it; there's no plan to migrate to it, except maybe by writing a wrapper,
since it would end up changing the API. Maybe Tomcat 5 will use
commons.logging natively

So +1. I would prefer using a wrapper, as I don't think introducing API
changes because of logging is justified.

Remy


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to