I am using wildfly22 with log4j.properties file
where we need to add  system property value -
log4j1.compatibility=true.
any help is appreciated.
thanks.
 
I am using wildfly22 with log4j.properties file
where we need to add  system property value -
log4j1.compatibility=true.
any help is appreciated.
thanks.
 
 
    
    You can set it via the command line when you run your program.  E.g. java -Dlog4j1.compatibility="true" myapp.
See https://www.ibm.com/docs/en/i/7.4?topic=java-system-properties
If you use gradle you can include it in  gradle.properties.
https://javabydeveloper.com/gradle-system-properties-via-command-line-step-by-step-example/