This section describes how to manage logs and most common troubleshooting scenarios related to Red Hat Storage.
This section describes how to manage Red Hat Storage logs by performing the following operation:
- Rotating Logs
Administrators can rotate the log file in a volume, as needed.
To rotate a log file
- Rotate the log file using the following command:
# gluster volume log rotateVOLNAMEFor example, to rotate the log file on test-volume:# gluster volume log rotate test-volume log rotate successful
Note
When a log file is rotated, the contents of the current log file are moved to log-file- name.epoch-time-stamp.