[lxc-devel] [lxc/master] criu: Use -v4 instead of -vvvvvv
rst0git on Github
lxc-bot at linuxcontainers.org
Fri May 10 21:43:38 UTC 2019
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 436 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190510/5f7a9beb/attachment.bin>
-------------- next part --------------
From 582cb4785a827553d10a6b82185763feb353a114 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <rstoyanov1 at gmail.com>
Date: Fri, 10 May 2019 22:25:54 +0100
Subject: [PATCH] criu: Use -v4 instead of -vvvvvv
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 at gmail.com>
---
src/lxc/criu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxc/criu.c b/src/lxc/criu.c
index 7fd4d338a8..1b74cf8137 100644
--- a/src/lxc/criu.c
+++ b/src/lxc/criu.c
@@ -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");
More information about the lxc-devel
mailing list