byteayan commented on code in PR #3258:
URL: https://github.com/apache/hugegraph/pull/3258#discussion_r4191436342


##########
docker/README.md:
##########
@@ -230,6 +230,12 @@ Standalone stores RocksDB data at 
`/hugegraph-server/rocksdb-data`. The HStore t
 
 `docker compose down` keeps named-volume data. `docker compose down -v` 
intentionally deletes it.
 
+### Server logs and crash files
+
+Both Server images (`hugegraph/hugegraph` and `hugegraph/server`) write the 
HugeGraph log to container stdout. WARN and above from Hadoop, ZooKeeper, SOFA, 
Netty and Commons also reaches stdout; their INFO output, the audit log and the 
slow-query log stay in files only. Launcher errors that stop the Server before 
Java starts, such as an unsupported JDK or too little free memory, go to stderr 
as well as `hugegraph-server.log`, so when a Server exits during startup, 
`docker logs` or `kubectl logs --previous` shows why.

Review Comment:
   Fixed in 0dd3fef6: the sentence now limits the file-only INFO statement to 
the INFO-level Hadoop, Netty and Commons loggers, and says ZooKeeper and SOFA 
log nothing below WARN. The paired doc PR (apache/hugegraph-doc#509) has the 
same fix in English and Chinese.



-- 
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]

Reply via email to