4.2 "ERROR StatusLogger Log4j2 could not find a logging implementation"

I switched to 4.2 (I was running without problems on 4.1.4).

I'm now getting the error:

ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
2020-11-19 18:56:38.076+0000 INFO Starting...
2020-11-19 18:56:40.634+0000 INFO ======== Neo4j 4.2.0 ========

Unfortunately, it's not clear to me how to do this (I only understand Java a little). I downloaded the log4j jars (many of them!) but I'm not clear how to set up the JAVA_HOME directory on the Mac (it's current undefined). I tried looking this up on the internet but there are lots of different opinions as to what JAVA_HOME should be set to....

I tried copying log4j-core-2.14.0.jar to /Applications/Neo4j Desktop.app/Contents/Resources/lib/ but that didn't stop the logging errors either.

Thanks in advance.

me too, in 4.2.0. I need step by step instructions on fixing.

I found a way for people looking to remove this error:

System.setProperty("log4j2.loggerContextFactory","com.simba.neo4j.shaded.apache.logging.log4j.simple.SimpleLoggerContextFactory");