Rotate log files.
Description
Logs are rotated by prepending ‘.x’ to the ‘.log’ suffix.
The current log plus 10 historical logs are maintained.
For example: base.9.log -> [ REMOVED ] base.8.log -> base.9.log …
base.0.log -> base.1.log base.log -> base.0.log
Parameters
$handlestringrequired- Log handle.