This topic describes how to configure the Agent log for daily rotation.
By default, the Dgraph HDFS Agent log does not support daily rotation. However, you can modify the log4j.properties file for this feature.
To configure the Dgraph HDFS Agent log for daily rotation.
./bdd-admin.sh rotate-logs -c agent -n web009.us.example.com
As a result of this example, the dgraphHDFSAgent.out log is renamed to dgraphHDFSAgent.out-1438022767 and an empty dgraphHDFSAgent.out log is created.
For information on the rotate-logs command, see the Administrator's Guide.