Some server log messages are not logged to Logback
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 668
- Forks
- 135
- Avg merge
- 4d 19h
- Merged PRs (30d)
- 7
Description
I found this from the stderr output:
```
Aug 06, 2019 3:18:22 PM com.github.benmanes.caffeine.cache.LocalAsyncCache lambda$handleCompletion$3
WARNING: Exception thrown during asynchronous load
java.util.concurrent.CompletionException: com.linecorp.centraldogma.server.internal.storage.RequestAlreadyTimedOutException: Request already timed out.
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
at io.micrometer.core.instrument.AbstractTimer.record(AbstractTimer.java:160)
at io.micrometer.core.instrument.Timer.lambda$wrap$0(Timer.java:144)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.linecorp.centraldogma.server.internal.storage.RequestAlreadyTimedOutException: Request already timed out.
```
Contributor guide
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.
Research direction
Start by tracing the stderr output from com.github.benmanes.caffeine.cache.LocalAsyncCache and the asynchronous load that reports RequestAlreadyTimedOutException. Identify the server logging entry points involved and verify that the affected messages are routed through Logback rather than only appearing on stderr.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100