You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Dominik Psenner (JIRA)" <ji...@apache.org> on 2017/08/14 08:11:00 UTC

[jira] [Created] (LOG4J2-2010) Allow customization of the conversion from logger names to logger hierarchy

Dominik Psenner created LOG4J2-2010:
---------------------------------------

             Summary: Allow customization of the conversion from logger names to logger hierarchy
                 Key: LOG4J2-2010
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2010
             Project: Log4j 2
          Issue Type: Improvement
          Components: Core
            Reporter: Dominik Psenner
            Priority: Minor


Class paths are currently split into a hierarchy of loggers. Private classes however are subclassed into their containing class with a dollar sign ($) which is currently not reflected as an entry in the logger hierarchy. It has been discussed to allow the customization of the logger hierarchy calculation strategy.

By default the default implementation of the hierarchy calculations strategy should split a class path by a dot (.). It should further allow splitting by other common separators like a dot and a slash (. and /) to accomodate more use cases.

It is yet to be discussed whether we the user should be able to provide a custom implementatino of the hierarchy calculation strategy.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)