Skip to content

Commit 9058499

Browse files
committed
Add verbose logging
1 parent bc1e608 commit 9058499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/checkpointer/checkpointer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (c *checkpointer) Restore(ctx context.Context) (*exec.Cmd, func(context.Con
184184
}
185185

186186
// Set up restore command
187-
restoreCmd := exec.CommandContext(ctx, criuPath, "restore", "--shell-job", "--tcp-close", "--images-dir", filepath.Join(c.checkpointDir, checkpointSubdirName))
187+
restoreCmd := exec.CommandContext(ctx, criuPath, "restore", "--shell-job", "--tcp-close", "-v4", "--log-file", "restore.log", "--images-dir", filepath.Join(c.checkpointDir, checkpointSubdirName))
188188

189189
// Set up callback function once restore is started
190190
callback := func(con context.Context) error {

0 commit comments

Comments
 (0)