Logrotate for OpenHAB log files

If someone is interested to save some filesystem space with openHAB 2 as every log file gets rotated after a size of +10MB and it keeps 10 logs per default (=110 MB for each logfile):

I use logrotate to rotate the events.log.1 and openhab.log.1 files:

root@openhab: # cat /etc/logrotate.d/openhab2
/var/log/openhab2/openhab.log.1
/var/log/openhab2/events.log.1 {
        daily
        rotate 10
        compress
        missingok
        notifempty
        nocreate
}