Hi Maarten, I did look at logback and slf4j right at the beginning. I just felt that that entire eco-system was getting lost in abstractions piled upon frameworks, etc. My feeling that is that logging libraries should be simple and lightweight, as it really isn't a very complex task.
In the end I wrote the project because the task just interested me anyway. I understand what you're saying about arbitrary dependencies... But performance should be a consideration in a logging framework, and there's no contest there between joda and the standard api, IMHO. Maarten Bosteels wrote: > {Off topic] > > Hello Bruce, > > Have you checked out the log4j alternatives before you started log5j ? > > Have you seen http://logback.qos.ch/ ? > * it's based on java 1.5 > * it's designed by the founder of log4j > * it implements the SLF4J API > * hence it supports a format strng + arguments > (although not using the ava.util.Formatter.format() methods. > see > http://www.slf4j.org/api/org/slf4j/Logger.html#debug(java.lang.String,%20java.lang.Object[]) > > Also, I do like joda-time, but I don't think a logging-framework should > depend on it. > > regards, > Maarten > > On Feb 2, 2008 2:43 AM, Bruce Ashton <[EMAIL PROTECTED]> wrote: > >> Hi guys, >> >> I've just put up a new project on sourceforge using joda-time. >> >> Log5j [ https://sourceforge.net/projects/log5j/ ] is essentially a log4j >> clone, but set up for Java versions 5 and above. The main difference is >> slightly more flexible logging methods using Java 5's varargs feature. >> >> The latest code in subversion (but not yet released) also features >> logging methods that format messages in the same way as the >> java.util.Formatter.format() methods. >> >> I was prompted to do this after seeing too many instances of >> "logger.debug(string1 + string2 + ...);" in the code I work on, which >> everyone knows is inefficient, but for some reason still happens all the >> time. >> >> Anyway, please check it out. I would be interested to know if other >> people think it's worth the effort, or if I'm just tilting at windmills. >> :) >> >> >> Bruce. >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Joda-interest mailing list >> Joda-interest@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/joda-interest >> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Joda-interest mailing list > Joda-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/joda-interest ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest