Is log4j2 compatible with Java 11?
I tried to run my project on the latest Java 11. Everything works, except the specific file logger. Logging works fine on previous Java versions - 10, 9, 8, but not on Java 11. During server run I see only 1 warning: WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. Here is my configuration: <Configuration> <Appenders> <RollingFile name="postgresDBLog" fileName="${sys:logs.folder}/postgres.log" filePattern="${sys:logs.folder}/archive/postgres.log.%d{yyyy-MM-dd}"> <PatternLayout> <pattern>%d{HH:mm:ss.SSS} - %msg%n</pattern> </PatternLayout> <Policies