How can I set Dlog4j2.formatMsgNoLookups=true in JVM?

Viewed 17078

In one of my computers, there is JRE 1.8.0_45 and in another machine there is OpenJDK.

I want to set the JVM flag Dlog4j2.formatMsgNoLookups=true, but where can I write this piece of configuration?

1 Answers
Related