An open API service indexing awesome lists of open source software.

https://github.com/lreimer/payara-micro-log4j2

Payara Micro 5.x + Log4J2 (async) as logging system.
https://github.com/lreimer/payara-micro-log4j2

jakartaee javaee log4j2 payara payara-micro

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Payara Micro with Log4J2

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

## Building and Running

```bash
$ ./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),

## License

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