Re: [VOTE] Release Apache Log4j 2.17.2-rc1

2022-02-24 Thread Duo Zhang
+1(non-binding) I opened a PR in hbase to make use of the staging artifacts https://github.com/apache/hbase/pull/4096 I tried to compile and dist locally, all looked good. Started a standalone mini cluster of hbase, used the newly introduced syntax in LOG4J2-3341 to specify level and appender a

Re: [DISCUSS] Support 'log4j.rootLogger=INFO,Console' configuration grammar in log4j2

2022-02-05 Thread Duo Zhang
I tried this feature in HBase but got some problems. I've already filed LOG4J2-3394 to describe the problems. PTAL. Thanks. 张铎(Duo Zhang) 于2022年1月17日周一 12:30写道: > I spent some time reading the code of log4j2-core, and posted what I have > learned so far on the jira issue. > >

Re: [DISCUSS] Support 'log4j.rootLogger=INFO,Console' configuration grammar in log4j2

2022-01-16 Thread Duo Zhang
I spent some time reading the code of log4j2-core, and posted what I have learned so far on the jira issue. I could give it a try but I need a mentor. Appreciate if someone in the community could help here. Thanks. 张铎(Duo Zhang) 于2022年1月15日周六 11:54写道: > Filed https://issues.apache.org/j

Re: [DISCUSS] Support 'log4j.rootLogger=INFO,Console' configuration grammar in log4j2

2022-01-14 Thread Duo Zhang
Filed https://issues.apache.org/jira/browse/LOG4J2-3341. Gary Gregory 于2022年1月11日周二 21:21写道: > On Tue, Jan 11, 2022 at 8:20 AM 张铎(Duo Zhang) > wrote: > > > So we could open an issue for this feature then? As we have already > started > > to discuss the implementat

Re: [DISCUSS] Support 'log4j.rootLogger=INFO,Console' configuration grammar in log4j2

2022-01-11 Thread Duo Zhang
complicated and the idea of enhancing it to > > >> support stuff like > > >> this doesn’t excite me. > > >> > > >> I think we’d be better off creating a new plugin for this. Something > > like: > > >> > > >> &

Re: [DISCUSS] Support 'log4j.rootLogger=INFO,Console' configuration grammar in log4j2

2022-01-09 Thread Duo Zhang
is if you want to provide more than one appender > this won’t > work well. But I am sure we could enhance AppenderRef to accept a list of > appenders. > > Ralph > > > > > > On Jan 9, 2022, at 5:29 PM, 张铎(Duo Zhang) wrote: > > > > Thank you for the reply.

Re: [DISCUSS] Support 'log4j.rootLogger=INFO,Console' configuration grammar in log4j2

2022-01-09 Thread Duo Zhang
> do the split in the script > >> and create two different variables for the logging configuration to pick > >> up. Is there a reason that > >> you can’t do this - for example perhaps users have hacked your scripts > and > >> now you can’t > >> ch

[DISCUSS] Support 'log4j.rootLogger=INFO,Console' configuration grammar in log4j2

2022-01-09 Thread Duo Zhang
I brought this up in the incubator mailing list, and was suggested to report directly to the log4j community. https://issues.apache.org/jira/browse/HADOOP-16206 In hadoop we started to try migrating to log4j2 long ago, but it is not easy. For now, one of the most blocker issues is the lack of sup