open-telemetry / open-telemetry/opentelemetry-java-instrumentation
Capturing application logs does not work.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 1.2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 228
Description
Describe the bug
I am running an Oracle Weblogic Server with the java agent and it only detects and loads the weblogic logs while not detecting/ignoring those of the applications deployed on it.
The application traces are being collected correctly, it is only the logs generated by the application that are not captured. By the way, the applications send the logs to a different file than weblogic.
Steps to reproduce
To reproduce it, you only need to run an Oracle Weblogic Server and deploy applications on it that save the logs in files other than the weblogic.
Expected behavior
The expected behavior would be that the agent captures the application logs as it does with the traces in order to correlate them.
Actual behavior
The current behavior is that the agent does not capture application logs.
Javaagent or library instrumentation version
v.2.12
Environment
Additional context
No response
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
Reproduce the issue with an Oracle WebLogic Server, a deployed application, and application logs written to a separate file. Start by tracing how the Java agent discovers WebLogic logs and compare that with application log handling. Done means application logs are captured and can be correlated with the application traces.
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
- 35/100