Copilot commented on code in PR #2980:
URL: https://github.com/apache/hugegraph/pull/2980#discussion_r3004816258
##########
hugegraph-server/hugegraph-dist/src/assembly/static/conf/log4j2.xml:
##########
@@ -104,6 +104,7 @@
<loggers>
<root level="INFO">
+ <appender-ref ref="console"/>
<appender-ref ref="file"/>
</root>
Review Comment:
Adding the console appender to the root logger won’t make HugeGraph’s main
logs visible on stdout because `org.apache.hugegraph` is configured as an
`AsyncLogger` with `additivity="false"` and only references the `file`
appender. To actually enable `docker logs` for application output, wire
`console` into the `AsyncLogger`(s) that cover HugeGraph (or adjust additivity
/ appender wiring so those events reach root).
--
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]