hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Vlcek" <lukas.vl...@gmail.com>
Subject Re: JCL vs SLF4J
Date Tue, 02 Oct 2007 06:57:06 GMT

I didn't follow the whole debate in Hadoop mail list about SLF4J vs JCL so
my comment may be irrelevant. However, apart of class loader issues in JCL,
did anybody considered performance benefits of SLF4J over JCL?
I have switched to SLF4J recently and I found it very handy. Especially the
syntaxt: log.debug("This must have {} performance then {}", "better",


On 10/1/07, Doug Cutting <cutting@apache.org> wrote:
> Michael Stack wrote:
> > Doug Cutting wrote:
> >> I have used the JVM's built-in logging and found it lacking.
> > Do you remember what the holes in JUL were?
> Sorry, I don't remember all the details.
> I note that Hadoop uses log4j's DailyRollingFileAppender, and nothing
> like that is present in JUL.  And log4j's formatting options are much
> more sophisticated than JUL's SimpleFormatter.  Also, with log4j, it's
> easy to configure debug logging for a subset of code, based on package
> wildcards.  Such things can be accomplished with JUL, but through the
> addition of code, while log4j moves most of that to the config.
> Doug


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message