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 implementation :) > > > > Yes, that

Re: Should lookups be split out or otherwise disabled by default?

2022-01-14 Thread Matt Sicker
I think that depends on how you use Spring. My Spring app is deployed via Kubernetes where I can configure environment variables and config files to attach to each service. All my relevant data I might normally look up through Spring is exposed in multiple ways. — Matt Sicker > On Jan 14,

Re: Should lookups be split out or otherwise disabled by default?

2022-01-14 Thread Apache
The answer is - it depends. Although we might consider using the properties proposal I made in master many of the lookups should default to being enabled or enabled under a condition. For example, the spring lookup only works when spring boot is present. It would be stupid for it not to be

Re: Should lookups be split out or otherwise disabled by default?

2022-01-14 Thread Gary Gregory
For the apps I work on, I don't see how to write configurations without lookups, so it won't bring anything of value for me. For others, who knows. The only value I see for separating anything in another module is to keep log4j-core on java.base only. Gary On Thu, Jan 13, 2022, 22:19 Matt Sicker