Correctly log a VM's lifetime