[slf4j-dev] [Bug 257] Recommended Logger Name

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Wed May 9 19:50:00 CEST 2012


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

Joachim Durchholz <jo at durchholz.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jo at durchholz.org

--- Comment #1 from Joachim Durchholz <jo at durchholz.org> 2012-05-09 19:49:59 CEST ---
I know I'm late with this, but here goes:

Irv, your developers are right and you got it backwards.
Logging is for collecting internal information that helps developers fix
problems. Class names are just right for that purpose.
Also, the logger name is used to identify logging configuration, e.g. what
severity of logging levels to use for what parts of the logger namespace.
You'll always have dots in the logger names (or you'll have to configure every
single logger in the system manually).
Third, you can't change the logger names of third-party software you're using.

You should include the business entity in the log message. (That's something I
do as a matter of course.)

-- 
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