Skip to content

Commit 32c2e81

Browse files
committed
Different verbose logging cmd
1 parent 9058499 commit 32c2e81

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", "-v4", "--log-file", "restore.log", "--images-dir", filepath.Join(c.checkpointDir, checkpointSubdirName))
187+
restoreCmd := exec.CommandContext(ctx, criuPath, "restore", "--shell-job", "--tcp-close", "-v4", "-o", "/tmp/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)