This is an automated email from the ASF dual-hosted git repository.

weichiu pushed a commit to branch HDDS-9225-website-v2
in repository https://gitbox.apache.org/repos/asf/ozone-site.git


The following commit(s) were added to refs/heads/HDDS-9225-website-v2 by this 
push:
     new 2d953cfbb HDDS-14543. [Website v2] [Docs] [Administrator Guide] Add dn 
container log in Application Logs (#320)
2d953cfbb is described below

commit 2d953cfbbd538fd30b92204e60eacddbdd591620
Author: sravani <[email protected]>
AuthorDate: Sat Feb 7 05:12:29 2026 +0530

    HDDS-14543. [Website v2] [Docs] [Administrator Guide] Add dn container log 
in Application Logs (#320)
---
 .../02-configuration/02-logging/01-application-logs.md   | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git 
a/docs/05-administrator-guide/02-configuration/02-logging/01-application-logs.md
 
b/docs/05-administrator-guide/02-configuration/02-logging/01-application-logs.md
index df5961357..cd925888d 100644
--- 
a/docs/05-administrator-guide/02-configuration/02-logging/01-application-logs.md
+++ 
b/docs/05-administrator-guide/02-configuration/02-logging/01-application-logs.md
@@ -16,6 +16,22 @@ By default, log files are stored in the `$OZONE_LOG_DIR` 
directory, which is usu
 
 The logging behavior for each service is controlled by its `log4j.properties` 
file, located in the service’s `$OZONE_CONF_DIR` directory, usually 
`etc/hadoop`. You can modify this file to change the log level, logging 
outputs, and other logging parameters.
 
+## Datanode Container Logs
+
+In addition to the main service log, Datanode also generates 
container-specific logs that track container replica-level events. These logs 
record brief messages about container state changes (open, closing, closed, 
unhealthy), replication events, reconstruction, reconciliation, container 
moves, and other container lifecycle events.
+
+Container logs are configured via `dn-container-log4j2.properties` and are 
stored as `dn-container-${hostName}.log` in the `$OZONE_LOG_DIR` directory.
+
+### Example
+
+```text
+2026-02-01 16:08:59,261 | INFO  | ID=2 | Index=0 | BCSID=0 | State=OPEN | 
Volume=/hadoop-ozone/datanode/data/hdds | DataChecksum=0 |
+2026-02-03 12:49:36,139 | INFO  | ID=2 | Index=0 | BCSID=1172 | State=CLOSING 
| Volume=/hadoop-ozone/datanode/data/hdds | DataChecksum=0 |
+2026-02-03 12:49:37,443 | INFO  | ID=2 | Index=0 | BCSID=1172 | State=CLOSED | 
Volume=/hadoop-ozone/datanode/data/hdds | DataChecksum=4117a7a2 |
+2026-02-03 13:31:17,149 | INFO  | ID=2018 | Index=0 | BCSID=159 | 
State=CLOSING | Volume=/mnt/dummy_disk1/hadoop-ozone/datanode/data/hdds | 
DataChecksum=0 |
+2026-02-03 13:31:17,205 | WARN  | ID=2018 | Index=0 | BCSID=159 | 
State=QUASI_CLOSED | Volume=/mnt/dummy_disk1/hadoop-ozone/datanode/data/hdds | 
DataChecksum=2a21d155 | Ratis group removed. Group id: group-82AA09A3DA8C |
+```
+
 ## Debugging
 
 You can increase the log verbosity for debugging purposes for both services 
and CLI tools.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to