Skip to content

lreimer/payara-micro-log4j2

Repository files navigation

Payara Micro with Log4J2

A custom Payara Micro variant using Log4J2 (async) as logging implementation.

Building and Running

$ ./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

Maintainer

M.-Leander Reimer (@lreimer), mario-leander.reimer@qaware.de

License

This software is provided under the MIT open source license, read the LICENSE file for details.

About

Payara Micro 5.x + Log4J2 (async) as logging system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published