finalize log-management