Weird hex 0 bytes in openhab.log after 2.2 update

I’ve just completed the update to OH 2.2 and replaced the org.ops4j.pax.logging.cfg with the default one. But now I get a lot of hex 0 bytes at the start of the logfile. Does anyone have an idea what could cause this problem?

If I clear the file and another log entry gets written the bytes are also written again, but just one time at the start of the file.

I just found out that this issue only seams to occur if logs are written after executing an exec binding I’ve built to truncate the logs:

find /var/log/openhab2 -name “*.log” -exec truncate {} --size 0 ;

@Kai Do you have any idea why truncating the log is causing these zero bytes at the start? Is there now maybe a better way to do this with Openhab 2.2?