A custom Payara Micro variant using Log4J2 (async) as logging implementation.
$ ./gradlew build
# run locally
$ cd build/libs/
$ java -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j.configurationFile=log4j2.xml -jar payara-micro.jar --logproperties logging.properties --nocluster
# build image and run
$ docker build -t lreimer/payara-micro-log4j2:5.2021.1 .
$ docker push lreimer/payara-micro-log4j2:5.2021.1
$ docker run --rm -it -p 8080:8080 lreimer/payara-micro-log4j2:5.2021.1
M.-Leander Reimer (@lreimer), [email protected]
This software is provided under the MIT open source license, read the LICENSE
file for details.