How do I delete the old task log files?

I removed mine by doing this:

cd /var/log/pve/tasks
rm -f active index */UPID*
/etc/init.d/pve-cluster restart

Probably not the 100% correct way.

/b
 
Sorry to dig this out, but is there any way to completely remove cluster log and tasks after installing the cluster?
Wanna have a clean start after all things are working now.