The rotate-logs command rotates component logs.
./bdd-admin.sh rotate-logs [option <arg>]
rotate-logs supports the following options.
Option | Description |
---|---|
-c, --component <component(s)> | A comma-separated list of the component
logs to rotate:
|
-n, --node <hostname(s)> | A comma-separated list of the nodes to run on. Each must be defined in bdd.conf. |
If no options are specified, the script rotates all supported component logs.
./bdd-admin.sh rotate-logs
./bdd-admin.sh rotate-logs -c dgraph,agent -n web009.us.example.com