Re: [log4j] getLogger(String... name)?

2020-03-09 Thread Ralph Goers
Why would you want to do that? Most people seem to prefer getLogger() while I prefer getLogger(MyClass.class). I can’t imagine why anyone would want to dynamically construct a name like that and if they did, why wouldn’t they just using StringBuilder? Ralph > On Mar 9, 2020, at 7:51 AM, Gary

[log4j] getLogger(String... name)?

2020-03-09 Thread Gary Gregory
Hi All: Any thought for or against adding the API 'getLogger(String... name)' which would build a hierarchical logger name. These would be equivalent: - getLogger("com.a.b.c") - getLogger("com", "a", "b", "c") Gary

Re: TimeFilterTest

2020-03-09 Thread Apache
I started testing this. It doesn’t handle daylight savings at all and some of the tests make no sense. I’m rewriting it using java.time and implementing better tests. Ralph > On Mar 8, 2020, at 11:19 AM, Ralph Goers wrote: > > Is anyone else having problems with TimeFilterTest in core today?