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

https://github.com/dblock/log4jna

Log4jna is a library of native appenders for log4j.
https://github.com/dblock/log4jna

Last synced: 9 months ago
JSON representation

Log4jna is a library of native appenders for log4j.

Awesome Lists containing this project

README

          

![Log4JNA](https://github.com/dblock/log4jna/raw/master/log4jna.jpg?raw=true "Log4JNA")
[![Gitter](https://badges.gitter.im/dblock/log4jna.svg)](https://gitter.im/dblock/log4jna?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Build status](https://github.com/dblock/log4jna/actions/workflows/Default.yml/badge.svg)](https://github.com/dblock/log4jna/actions/workflows/Default.yml)
[![Maven Central](https://img.shields.io/maven-central/v/org.dblock.log4jna/log4jna)](https://search.maven.org/artifact/org.dblock.log4jna/log4jna)

Log4JNA is a library of native appenders to write into WindowsTM Event Viewer for [Log4j 2TM](http://logging.apache.org/log4j/).

Unlike the native implementation(s) in Log4jTM, this project uses [JNA](http://github.com/twall/jna) and therefore does not require a native DLL in a system directory or on PATH.

**Note:** Log4JNA is intended for WindowTM environments and requires access to WindowsTM registry and Event Viewer, therefore can only be tested in WindowsTM environments

## Using Log4JNA

#### Getting Log4JNA

See the [Downloads](#dw) section bellow to get Log4JNA.

See [Maven, Ivy, and Gradle Artifacts](MAVENIVYGRADLE.md) to include Log4JNA from Maven Central

#### Using Log4JNA

See [Log4JNA configuration](USAGE.md) for instructions and tips.

See the [FAQ](FAQ.md) for common problems and solutions.

## Developing Log4JNA
See [Contributing](CONTRIBUTING.md) for a primer on how to help on Log4JNA development.

See [Development Environment Set Up](ENVIRONMENT.md) for some tips and requirements before starting.

## Downloads
#### Log4JNA 2 for Log4j 2.x

| Current Release | Latest Development |
| ------------- |------------- |
| [Log4jna Api 2.1.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.dblock.log4jna&a=log4jna-api&v=2.1.0&e=jar) | [Log4JNA Api 2.1.1-SNAPSHOT](https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.dblock.log4jna&a=log4jna-api&v=2.1.1-SNAPSHOT&e=jar) |
| [Log4jna Demo 2.1.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.dblock.log4jna&a=log4jna-demo&v=2.1.0&e=jar) | [Log4JNA Demo 2.1.1-SNAPSHOT](https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.dblock.log4jna&a=log4jna-demo&v=2.1.1-SNAPSHOT&e=jar) |
| [Log4jna Demo with dependencies 2.1.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.dblock.log4jna&a=log4jna-demo&v=2.1.0&e=jar) | [Log4jna Demo with dependencies 2.1.1-SNAPSHOT](https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.dblock.log4jna&a=log4jna-demo&v=2.1.1-SNAPSHOT&c=jar-with-dependencies&e=jar) |
| [Log4jna Zip 2.1.0 (Jars, Sources, Dependencies and Documentation)](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.dblock.log4jna&a=log4jna-assembly&v=2.1.0&e=zip) | [Log4jna Zip 2.1.1-SNAPSHOT (Jars, Sources, Dependencies and Documentation)](https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.dblock.log4jna&a=log4jna-assembly&v=2.1.1-SNAPSHOT&e=zip) |

#### Log4JNA for Log4j 1.x
* [log4jna-1.3.zip](http://code.dblock.org/downloads/log4jna/log4jna-1.3.zip)

* [org.apache.log4jna.nt.Win32EventLogAppender](log4jna-doc/org.apache.log4jna.nt.Win32EventLogAppender.md): a replacement for NTEventLogAppender based on JNA that doesn't require a native DLL in a system directory.

License
-------
This project is licensed under the [Apache Software Foundation 2.0 License](http://www.apache.org/licenses/LICENSE-2.0)