Thanks for the link, I appreciate it...

I'm glad to see a RFE was placed into the issue tracker. I searched there already, but didn't see it. My search foo must be weak today.

I noticed that on the SLF4J project, it lists Restlet as a user. Is this the case? I see an org.slf4j.jar file in the distribution (among other logging jars), but don't see any use?

Sean Landis, if you're reading this, could you possibly give more details about your JdkLoggingToLog4jBridge solution?? Maybe this information could be appended to the RFE?

As a stand-alone project, it's quite fine that Restlet could use JDK logging. However, for integration with other environments, it's important that Restlet uses the logging facility that is local to the deployment. Finding a solution that allows a end user to switch to whatever logging facility they are already comfortable with seems like a worthy goal for adoption of the project.

Adam



Piyush Purang wrote:
Hi Adam,

We already had a discussion on this topic.

See http://thread.gmane.org/gmane.comp.java.restlet/905/focus=937

Cheers
Piyush

On 5/24/07, Adam Taft <[EMAIL PROTECTED]> wrote:


Yes, I've read all that.  Those links are well known.  But please
carefully read from the link you provided...

Stian Soiland wrote:
> http://radio.weblogs.com/0122027/2003/08/15.html  "Commons Logging was
> my fault"

"If you're building a stand-alone application, don't use
commons-logging. If you're building an application server, don't use
commons-logging. If you're building a moderately large framework, don't
use commons-logging. If however, like the Jakarta Commons project,
you're building a tiny little component that you intend for other
developers to embed in their applications and frameworks, and you
believe that logging information might be useful to those clients, and
you can't be sure what logging framework they're going to want to use,
then commons-logging might be useful to you."

That's what RESTlet is, a library/component to be embedded into other
setups.  If I'm using log4j, I want _all_ my log messages to go through
log4j.  That's the WHOLE purpose of using the Commons Logging facility
(with all its problems).

Adam


Reply via email to