Re: Property substitution doesn't work in log4j2 xml config
I’d need to see the rest of your main. For example does it declare a Logger? If so where is it in relation to the static block? Ralph > On Oct 30, 2023, at 7:25 AM, Alex Orlov wrote: > > > Hi all, > > I use log4j 2.21.1. This is my xml config file: > > > > >
Property substitution doesn't work in log4j2 xml config
Hi all, I use log4j 2.21.1. This is my xml config file: This is a piece of my MainClass: public final class MainClass { static {