Elasticsearch recently upgraded from log4j to log4j2. As part of this upgrade, the logging.yml wrapper around log4j properties was removed and a raw properties file is exposed instead. This PR adds feature detection for the log file type, and disables log level configuration if using a log4j2 properties file. This is a partial fix to get esvm running, a full solution will require parsing the new configuration format.
Elasticsearch recently upgraded from log4j to log4j2. As part of this upgrade, the logging.yml wrapper around log4j properties was removed and a raw properties file is exposed instead. This PR adds feature detection for the log file type, and disables log level configuration if using a log4j2 properties file. This is a partial fix to get esvm running, a full solution will require parsing the new configuration format.