logadm unnecessarily copies historical logs when "-c" is specified
cmd - userland programs
logadm's -c option is defined to "[r]otate the log file by copying it and truncating the original logfile to zero length, rather than renaming the file." This is clearly intended to apply to the log file being rotated – but logadm also applies this to the rotation of all historical logs. This means that multi-gigabyte files are unnecessarily copied instead of being simply renamed.
Updated by Robert Mustacchi over 9 years ago
- Status changed from New to Resolved
Resolved in 4bc1f5b268a3ca72608b1759f9a984f8e4b51651.