opensearch-project / opensearch-project/data-prepper

[BUG] data-prepper-core contains log4j configuration files

Open
#4,464 0 comments 0 reactions 1 assignee View on GitHub

@dlvenable is already working on this.

Since Apr 30, 2024.

bug
Dominant language
Java
Stars
374
Forks
354
Avg merge
3d 18h
Merged PRs (30d)
8

Description

Describe the bug

The data-prepper-core.jar file contains Log4J configuration files.

  • log4j.properties
  • log4j2-rolling.properties
  • log4j2.properties

To Reproduce

  1. Download Data Prepper (2.7.0)
  2. Extract
  3. Extract jar: jar xf opensearch-data-prepper-2.7.0-linux-x64/lib/data-prepper-core-2.7.0.jar
  4. Perform an ls to see

Expected behavior

This jar file should not have any log4j files. The correct location for any Log4J configurations would be within the directory structure of Data Prepper.

config/

This actually already includes log4j2-rolling.properties.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.