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

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Thu May 10 08:02:52 CEST 2012


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

Ralph Goers <rgoers at apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rgoers at apache.org

--- Comment #6 from Ralph Goers <rgoers at apache.org> 2012-05-10 08:02:51 CEST ---
Here is another perspective.

Logger names are primarily used to choose the configuration that will apply to
the specific events being logged.  While class names are one good way of doing
that there is absolutely nothing wrong with using some other scheme as long as
it meets your requirements on filtering, appender selection and ultimately
publishing the events. 

That said, as was noted logger names are hierarchical.  Names like Billing,
Billing.Automatic and Billing.Recurrent only make sense if that hierarchy meets
your requirements.

Providing a patch with examples is probably the best way for you to get this
issue resolved.

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