This project publishes and maintains the Apache Log4j 1.2 Windows NTEventLogAppender code and DLL.
While the Log4j 1 branch has reached
end-of-life,
this project seeks to maintain the NTEventLogAppender code and DLL until the
transition to Log4j 2 is complete for the projects I work on.
In addition, the Log4j 1 project never published the DLL files to Maven Central.
This project publishes the NTEventLogAppender DLLs to Maven Central under the
com.garygregory.log4j1 group ID.
The project provides the following files:
NTEventLogAppender.amd64_x86.dllNTEventLogAppender.amd64.dllNTEventLogAppender.x86_amd64.dllNTEventLogAppender.x86.dll
By default build tools like Apache Maven include the artifact version into the file name it downloads. Log4j 1 on the other hand, MUST not have the version in the file name. You Maven build must handle this discrepancy.
If you use Apache Ivy, you have control over file names and can skip using the version in the file name Ivy creates.
<dependency>
<groupId>com.garygregory.log4j1</groupId>
<artifactId>NTEventLogAppender.amd64_x86</artifactId>
<version>1.0</version>
<type>dll</type>
</dependency><dependency>
<groupId>com.garygregory.log4j1</groupId>
<artifactId>NTEventLogAppender.amd64</artifactId>
<version>1.0</version>
<type>dll</type>
</dependency><dependency>
<groupId>com.garygregory.log4j1</groupId>
<artifactId>NTEventLogAppender.x86_amd64</artifactId>
<version>1.0</version>
<type>dll</type>
</dependency><dependency>
<groupId>com.garygregory.log4j1</groupId>
<artifactId>NTEventLogAppender.x86</artifactId>
<version>1.0</version>
<type>dll</type>
</dependency>First SNAPSHOT builds.
TODO ### 2016-10-dd Version 1.0
| File | SHA1 | MD5 |
|---|---|---|
NTEventLogAppender.amd64.dll |
4bef2c1c958d4c29c14c647508a9c023c28039c2 |
80aa15b85848fee0764a7a24d4bc5a66 |
NTEventLogAppender.amd64_x86.dll |
a62d1a97d05847f3586017780b45267a0652b70b |
fb621f9cbc30ac331cc39d6e44bdd00e |
NTEventLogAppender.x86.dll |
42d73a6374fb37b17827551e873e1d33eb43140d |
c70463dca62c74dfe294574769b843ac |
NTEventLogAppender.x86_amd64.dll |
40b0fe058f20c241db52bc5a32b55d142ccda4e0 |
0d14689c37bffa9a71ecee3e3ebb3350 |
The current build uses Microsoft tools. A patch to build with MinGW would be appreciated.
The msbuild-all script builds the DLLs.
To install files you've built locally, run install-all.
Run deploy-all-snapshots.
- Edit
pom.xmland remove SNAPSHOT. - Edit
version.txt(never contains a SNAPSHOT, only a plain version like 1.0.0). - Run
mvn apache-rat:checkand check the results. - Run
ms-build-alland check the results. - Run
install-all-snapshotand check the results. - Run
install-all-stagingand check the results. - Run
deploy-all-snapshotand check the results. - Run
deploy-all-stagingand check the results. - Release from Nexus
- Edit
pom.xmland add SNAPSHOT.
- Compiling Desktop applications for the ARM platform is not supported.
-EOF-
