Production error logging to System.out in IpcServer
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Start in maven-resolver-named-locks-ipc/src/main/java/org/eclipse/aether/named/ipc/IpcServer.java, focusing on debug() at line 184, info() at line 190, and error() at line 196. Replace the System.out and stack-trace output with SLF4J logging, then verify that all IPC server messages use the proper logging framework instead of standard output.
Written by the indexing model from the issue text.
Description
Affected version: HEAD
File: maven-resolver-named-locks-ipc/src/main/java/org/eclipse/aether/named/ipc/IpcServer.java:196
private static void error(String msg, Throwable t) {
System.out.println("[ipc] [error] " + msg);
t.printStackTrace(System.out);
}
All errors in the IPC server go to stdout instead of a proper logging framework (SLF4J). In a production Maven build, these messages are invisible or interleaved with build output. Same issue for debug() (line 184) and info() (line 190) in the same file.
Originally reported in #1944.
- Dominant language
- Java
- Stars
- 152
- Forks
- 161
- Avg merge
- 23h 25m
- Merged PRs (30d)
- 48
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/maven-resolver
-
bug documentation
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
apache/maven-resolver#2038 ·
-
bug priority:major
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
apache/maven-resolver#1988 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/maven-resolver#2151 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
apache/maven-resolver#2142 ·
-
Maven 3.9 resolver ignores proxy authentification system properties proxyUser and proxyPassword Openbug
Difficulty 3/5 1-2 days Newbie friendliness 65/100
apache/maven-resolver#2139 · 3 comments ·
All issues in apache/maven-resolver
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100