apache / apache/eventmesh

[Enhancement] Logger of slf4j does not work in eventmesh-common test module

Open
#3,879 3 comments 0 reactions 0 assignees View on GitHub
enhancement Stale
Dominant language
Java
Stars
1.8k
Forks
658
Avg merge
11h 29m
Merged PRs (30d)
52

Description

### Search before asking

- [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.

### Enhancement Request

The object of `org.slf4j.Logger` can not execute no matter `log.info`, `log.error` and so on in test.

### Describe the solution you'd like

Add log4j2.xml to eventmesh-common test module

### Are you willing to submit PR?

- [X] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Inspect the eventmesh-common test module and its current logging dependencies or configuration. Run a test that calls org.slf4j.Logger methods such as log.info or log.error, then add the requested log4j2.xml configuration and verify that test logging works.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.