|
From: Ryan J. M. <ry...@da...> - 2008-07-08 12:43:11
|
I knew that ;) It has something similar to commons-logging. JBoss AS 5 includes a provider for slf4j so I felt it was a safe choice. I didn't want to get into making the decision of using log4j or jdk logging, but at least something that can provide logging details. My desire is to keep slf4j, drop log4j as a dependency (as Martin already did) and use JDK logging as the default. Developers are free to choose whatever framework suits them. Or can we use jboss-logging? I know you're not a fan of logging, but logging can work. The logging details from Hibernate have saved my ass a number of times because they provided enough detail of what is going on when. I'd like to be able to offer the same. Ryan- On Jul 8, 2008, at 8:34 AM, Bill Burke wrote: > FYI, JBoss does have a pluggable logging abstraction. > > Ryan McDonough wrote: >> I can see your point, but I do respectfully disagree. The idea >> behind it was to offer choice to end users on logging frameworks. I >> didn't want people to have to manage 2 different logging >> configurations just to get at the log messages from RESTEasy. If >> I'm using JBoss AS, I'm most likely going to be using log4j, but if >> I'm running stand alone, maybe JDK logging will be sufficient. I've >> also not been much of a fan of JDK logging since configuration is >> kind of a pain. I've used log4j frequently, but I don't want to >> impose that restriction onto anyone else, which was the reason >> behind slf4j. >> On a related note, from a framework debugging perspective, I'd like >> to be able to offer detailed information available to developers, >> much the same way Hibernate does it: >> http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/hibernate/Hibernate_Reference_Guide/Configuration-Logging.html >> and how it's done in JBoss AS: >> http://docs.jboss.org/process-guide/en/html/logging.html >> I'd like to be able to offer the same level of details going >> forward. This is what the LoggingCategories class. >> Ryan- >> On Mon, Jul 7, 2008 at 10:03 AM, Bill Burke <bb...@re... <mailto:bb...@re... >> >> wrote: >> -1 on slf4j. I'm so sick of these shitty logging frameworks and >> the >> dependency problems and bloat problems they create. Let's use JDK >> logging instead. Its good enough for what we want to do. >> Ryan J. McDonough wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> Since we didn't have logging in RESTEasy I introduced the >> slf4j >> logging API to the project over the weekend. I have put the >> following wiki page up here to detail some of the changes: >> http://wiki.jboss.org/wiki/RESTEasyLogging >> Going forward, I'd like to see logging instead of >> System.out ;) >> Ryan- >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (Darwin) >> iD8DBQFIcYdHK/xjmUY6JwURAl9iAJ453Bq+zrfPUvsmUgO83CaCmJ/9/ >> ACfTDGm >> 18+LjZ87CRYVgDJtkO5djKM= >> =hKND >> -----END PGP SIGNATURE----- >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE >> NOW! >> Studies have shown that voting for your favorite open source >> project, >> along with a healthy diet, reduces your potential for chronic >> lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Resteasy-developers mailing list >> Res...@li... >> <mailto:Res...@li...> >> https://lists.sourceforge.net/lists/listinfo/resteasy-developers >> -- Bill Burke >> JBoss, a division of Red Hat >> http://bill.burkecentral.com <http://bill.burkecentral.com/> >> -- >> Ryan J. McDonough >> http://www.damnhandy.com > > -- > Bill Burke > JBoss, a division of Red Hat > http://bill.burkecentral.com |