apache / apache/maven-resolver

Production error logging to System.out in IpcServer

Open Beginner friendly
#1,989 0 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
152
Forks
160
Avg merge
1d 4h
Merged PRs (30d)
49

Description

**Affected version:** HEAD

**File:** `maven-resolver-named-locks-ipc/src/main/java/org/eclipse/aether/named/ipc/IpcServer.java:196`

```java
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.

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.