[slf4j-dev] [Bug 116] Switching the log message format to that of java.util.Formatter

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue Nov 25 20:24:42 CET 2008


http://bugzilla.slf4j.org/show_bug.cgi?id=116


Thorbjørn Ravn Andersen <ravn at runjva.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ravn at runjva.com




--- Comment #3 from Thorbjørn Ravn Andersen <ravn at runjva.com>  2008-11-25 20:24:42 ---
Normally log messages are not meant for end-users but for developers and
maintainers, hence localization is much less an issue here.

Personally I believe that the essense here is that the formatting mechanism
must be as fast as it can be while being correct.  The {}-construct is a
reasonable compromise between power and convenience (getting rid of the
isDebugEnabled()), and I see no reason for changing it unless it turns out that
the java.util.Formatter performs sufficiently faster.  If it ain't broken,
don't fix it :)

I'd like to hear if Grzegorz has had a situation where this change would
actually have been beneficial, or if this is a "oh, it would be nice
if..."-situation?


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list