Dominik, I am so sorry to read that you are struggling with health issue.
Thank you so much for taking the time to create the JIRA. We will take it from here and feel free to chime in or contribute at any time :-) I wish you a speedy recovery. Gary On Mon, Aug 14, 2017 at 2:14 AM, Dominik Psenner <dpsen...@gmail.com> wrote: > I wrote this up in a jira issue at [1]. Unfortunately I'm struggling with > my health and I can't give an estimate of when I can work on this. If you > want it for the next release, please take over the work right away as I > won't be able to contribute further. > > [1] https://issues.apache.org/jira/browse/LOG4J2-2010 > > 2017-08-14 1:14 GMT+02:00 Gary Gregory <garydgreg...@gmail.com>: > > > Recapping: > > > > Using it: > > > > <Configuration hierarchySeparators="./$" ... > > > > Default: > > > > <Configuration hierarchySeparators="." ... > > > > Dominik: Do you want to take a shot at it? > > > > Gary > > > > > > > > On Sun, Aug 13, 2017 at 2:58 PM, Ralph Goers <ralph.go...@dslextreme.com > > > > wrote: > > > > > Yes, that is the way I would envision it. The default would be how it > > > works now. > > > > > > Ralph > > > > > > > On Aug 13, 2017, at 12:37 PM, Gary Gregory <garydgreg...@gmail.com> > > > wrote: > > > > > > > > Well we can make an exception for trailing $? > > > > > > > > Do we want to add an attribute in the Configuration XML element? For > > > > example hierarchySeparators=".$/" > > > > > > > > What should the default be? > > > > > > > > Gary > > > > > > > > On Aug 13, 2017 12:17, "Matt Sicker" <boa...@gmail.com> wrote: > > > > > > > >> Having the dollar sign interpreted differently also makes a > difference > > > in > > > >> Scala classes and potentially other languages. For example, in > Scala, > > an > > > >> "object" class is a singleton instance of the class (vaguely similar > > to > > > a > > > >> class with all static methods and fields), and it's translated to a > > Java > > > >> class name with a dollar sign appended. The Scala code "object Foo { > > > ... }" > > > >> translates to the equivalent of "public class Foo$ { public static > > Foo$ > > > >> MODULE$ = new Foo$(); ... }" or something like that. > > > >> > > > >> On 13 August 2017 at 11:08, Apache <ralph.go...@dslextreme.com> > > wrote: > > > >> > > > >>> You cannot replace. We always must support dots. But some people > have > > > >>> asked for '/' as well. > > > >>> > > > >>> Sent from my iPad > > > >>> > > > >>>> On Aug 13, 2017, at 8:38 AM, Dominik Psenner <dpsen...@gmail.com> > > > >> wrote: > > > >>>> > > > >>>> Yes > > > >>>> > > > >>>>> On 13 Aug 2017 5:13 p.m., "Gary Gregory" <garydgreg...@gmail.com > > > > > >>> wrote: > > > >>>>> > > > >>>>> You are talking about replacing $ with dot in the > getLogger(Class) > > > >> API? > > > >>>>> > > > >>>>> Gary > > > >>>>> > > > >>>>>> On Aug 13, 2017 01:57, "Dominik Psenner" <dpsen...@gmail.com> > > > wrote: > > > >>>>>> > > > >>>>>> Could the $ be replaced by a dot when the logger is > instantiated? > > > >>> Log4net > > > >>>>>> picks the class name as logger name but also allows custom > logger > > > >>> names. > > > >>>>>> > > > >>>>>> On 13 Aug 2017 8:30 a.m., "Ralph Goers" < > > ralph.go...@dslextreme.com > > > > > > > >>>>>> wrote: > > > >>>>>> > > > >>>>>>> Rather than implementing this I would rather have the separator > > > >> chars > > > >>>>> be > > > >>>>>>> specifiable in the configuration. Blatantly making this change > > > might > > > >>>>>> cause > > > >>>>>>> compatibility problems, although I am not really sure how it > > could. > > > >>>>>>> > > > >>>>>>> Ralph > > > >>>>>>> > > > >>>>>>>> On Aug 12, 2017, at 11:29 AM, Gary Gregory < > > > garydgreg...@gmail.com > > > >>> > > > >>>>>>> wrote: > > > >>>>>>>> > > > >>>>>>>> Hi All, > > > >>>>>>>> > > > >>>>>>>> I you use nested classes to build loggers, you end up with > > logger > > > >>>>> names > > > >>>>>>>> like A$N1, A$N2 and so on. > > > >>>>>>>> > > > >>>>>>>> If you then set a logger level in a config using "A", it does > > not > > > >>>>>> affect > > > >>>>>>>> A$N1 and A$N2 as you might expect, since "$" is not a ".". > > > >>>>>>>> > > > >>>>>>>> What about treating "$" like a "."? > > > >>>>>>>> > > > >>>>>>>> Thoughts? > > > >>>>>>>> > > > >>>>>>>> Gary > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>> > > > >>>>> > > > >>> > > > >>> > > > >>> > > > >> > > > >> > > > >> -- > > > >> Matt Sicker <boa...@gmail.com> > > > >> > > > > > > > > > > > > > > > -- > Dominik Psenner >