@DeepDiver1975 Hehe. At least the overwriting is documented in the class description.

If you do not like this behaviour, compression could probably be used like so:
```php
rename($logfile, $logfile.'.1');
$src = fopen($logfile.'.1', 'r');
$dest = fopen("compress.zlib://$logfile.1.gz", 'wb');
stream_copy_to_stream($src, $dest);
```
Should then probably use a timestamp instead of the hardcoded "1" and increase the log filesize to 256 MiB or so.