Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion>

<groupId>in.org.nnm</groupId>
<artifactId>log4j2-utils</artifactId>
<artifactId>log4j-utils</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>

<name>log4j2-utils</name>
<description>Utility helpers and extensions for Log4j2 configuration and usage</description>
<url>https://github.com/Neel1210/log4j2-utils</url>
<name>log4j-utils</name>
<description>Utility helpers and extensions for Log4j configuration and usage</description>
<url>https://github.com/Neel1210/log4j-utils</url>

<licenses>
<license>
Expand All @@ -29,29 +29,29 @@
</developers>

<scm>
<connection>scm:git:https://github.com/Neel1210/log4j2-utils.git</connection>
<developerConnection>scm:git:ssh://github.com/Neel1210/log4j2-utils.git</developerConnection>
<url>https://github.com/Neel1210/log4j2-utils</url>
<connection>scm:git:https://github.com/Neel1210/log4j-utils.git</connection>
<developerConnection>scm:git:ssh://github.com/Neel1210/log4j-utils.git</developerConnection>
<url>https://github.com/Neel1210/log4j-utils</url>
</scm>

<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/Neel1210/log4j2-utils/actions</url>
<url>https://github.com/Neel1210/log4j-utils/actions</url>
</ciManagement>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<log4j2.version>2.24.3</log4j2.version>
<log4j.version>2.24.3</log4j.version>
<maven.test.skip>true</maven.test.skip>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
<version>${log4j.version}</version>
</dependency>
</dependencies>

Expand All @@ -66,7 +66,7 @@
<path>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
<version>${log4j.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down
20 changes: 10 additions & 10 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# log4j2-utils 🚀
# log4j-utils 🚀

[![Maven Central](https://img.shields.io/maven-central/v/in.org.nnm/log4j2-utils.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/in.org.nnm/log4j2-utils)
![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)

**log4j2-utils** is a collection of high-performance, community-driven plugins for _Apache Log4j2_. This project
**log4j-utils** is a collection of high-performance, community-driven plugins for _Apache Log4j_. This project
provides _"plug-and-play"_ extensions designed to solve common logging challenges—such as sensitive data masking and
message transformation—without requiring custom Java code in every microservice.

---

## ✨ Features

* **Easy Configuration**: Simplified programmatic setup for Log4j2.
* **Easy Configuration**: Simplified programmatic setup for Log4j.
* **Modern Java Support**: Fully compatible with Java 8 through Java 21+.
* **Checkstyle Verified**: Follows Google Java Style for clean, maintainable code.
* **Log4j2 Integration**: Native support for Log4j2 Core version `2.24.3`.
* **Log4j Integration**: Native support for Log4j Core version `2.24.3`.

---

Expand All @@ -37,22 +37,22 @@ Add the following dependency to your `pom.xml`:
```xml
<dependency>
<groupId>in.org.nnm</groupId>
<artifactId>log4j2-utils</artifactId>
<artifactId>log4j-utils</artifactId>
<version>1.0.0</version>
</dependency>
```

For `Gradle` users:

```declarative
implementation("in.org.nnm:log4j2-utils:1.0.0")
implementation("in.org.nnm:log4j-utils:1.0.0")
```

---

## 🛠 Usage

To use these utilities in your project, ensure you have the necessary Log4j2 dependencies configured.
To use these utilities in your project, ensure you have the necessary Log4j dependencies configured.

#### Configuration example `log4j2.xml`

Expand Down Expand Up @@ -89,7 +89,7 @@ rewrite:
- ref: Console
```

#### 👉 log4j2 configuration files : [Log4j2 Configuration Examples](https://github.com/Neel1210/logging-activity/tree/main/src/main/resources/log4j2-configurations)
#### 👉 log4j configuration files : [Log4j Configuration Examples](https://github.com/Neel1210/logging-activity/tree/main/src/main/resources/log4j2-configurations)

---

Expand All @@ -103,7 +103,7 @@ To see `log4j-utils` in action within a `Spring Boot/Java environment`, check ou

## 🤝 Contributing

Contributions are welcome! If you have a Log4j2 plugin that solves a common problem, feel free to:
Contributions are welcome! If you have a Log4j plugin that solves a common problem, feel free to:

* open an issue
* Fork the repository.
Expand All @@ -119,4 +119,4 @@ Developed by Neelesh Mehar
- Website: nnm.org.in
- GitHub: [@Neel1210](https://github.com/neel1210)

Special thanks to the **Apache Log4j2 Maintainers** for their guidance on this project.
Special thanks to the **Apache Log4j Maintainers** for their guidance on this project.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package in.org.nnm.log4j2.utils;
package in.org.nnm.log4j.utils;

import org.apache.logging.log4j.core.Core;
import org.apache.logging.log4j.core.LogEvent;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/in/org/nnm/log4j/utils/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package in.org.nnm.log4j.utils;
1 change: 0 additions & 1 deletion src/main/java/in/org/nnm/log4j2/utils/package-info.java

This file was deleted.