]> git.proxmox.com Git - mirror_lxc.git/commitdiff
criu: Use -v4 instead of -vvvvvv
authorRadostin Stoyanov <rstoyanov1@gmail.com>
Fri, 10 May 2019 21:25:54 +0000 (22:25 +0100)
committerRadostin Stoyanov <rstoyanov1@gmail.com>
Fri, 10 May 2019 21:39:15 +0000 (22:39 +0100)
CRIU has only 4 levels of verbosity (errors, warnings, info, debug).
Thus, using `-v4` is more appropriate.

https://criu.org/Logging

Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
src/lxc/criu.c

index 7fd4d338a835eaca126738de949e85904f8d9725..1b74cf8137417b428a351daf75162d8ff62d999b 100644 (file)
@@ -375,7 +375,7 @@ static void exec_criu(struct cgroup_ops *cgroup_ops, struct lxc_conf *conf,
        }
 
        if (opts->user->verbose)
-               DECLARE_ARG("-vvvvvv");
+               DECLARE_ARG("-v4");
 
        if (opts->user->action_script) {
                DECLARE_ARG("--action-script");