bitflicker64 opened a new pull request, #2980:
URL: https://github.com/apache/hugegraph/pull/2980
## Purpose of the PR
- close #2979
`docker logs` shows no application output for any HugeGraph container. All
JVM logs are silently redirected to files inside the container, requiring
manual exec + tail to debug. This PR fixes that.
## Main Changes
Two root causes fixed:
1. Startup scripts redirected JVM stdout/stderr to a file via `>> ${OUTPUT}
2>&1` before Docker could capture it — removed from all 4 scripts
2. The console appender was defined in all dist `log4j2.xml` configs but
never wired to the root logger — added `<appender-ref ref="console"/>` to root
in all 3 configs
File appenders are kept so non-Docker deployments are unaffected.
## Verifying these changes
- [x] Trivial rework / code cleanup without any test coverage. (No Need)
## Does this PR potentially affect the following parts?
- [ ] Dependencies
- [x] Modify configurations
- [ ] The public API
- [ ] Other affects (typed here)
- [ ] Nope
## Documentation Status
- [ ] `Doc - TODO`
- [ ] `Doc - Done`
- [x] `Doc - No Need`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]