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


##########
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:
   🧹 Blocking: no. Summary: This sentence implies ZooKeeper and SOFA INFO 
messages remain in files. Evidence: both `org.apache.zookeeper` and 
`com.alipay.sofa` are configured at WARN in 
`hugegraph-server/hugegraph-dist/src/assembly/static/conf/log4j2.xml:114-120`, 
so INFO events are discarded before either appender. Please limit the file-only 
INFO statement to the INFO-level Hadoop, Netty, and Commons loggers.



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