Openvidu CDR file rotate

Hi there.

I noticed that if the CDR file is erased after its creation openvidu stops registering information until the next service restart when a new file with different file name is created, even if a new empty file with the same name is created.

Does openvidu rotates the CDR filename by itself? If not, how one implements log rotation considering that tools like logrotate renames the old file and creates a new, empty one.

Hi @alisio AFAIK, there’s no way to rotate such file.

Maybe you can truncate the file using crontab or something in your deployed server, maybe @pabloFuente knows much about CDR configuration.

Regards,
Carlos