rotatelog
rotatelog
Force the current log file to be backed up and truncated. The server starts writing entries to the newly empty log file.
The backup file name is the same as the current log file name with a sequence number appended to the filename. The server queries the current log file directory and determines what the highest sequence number is, then chooses the next highest sequence number for the new backup name. For example, if the log file name is tibems.log and there is already a tibems.log.1 and tibems.log.2, the server names the next backup tibems.log.3.
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.