[Devel] [PATCH libvzctl] scripts: vz-cpt, vz-rst -- Setup CRIU verbosity back to maximum

Cyrill Gorcunov gorcunov at gmail.com
Mon Jun 27 03:29:04 PDT 2016


We're reworking our logging engine in criu so until
vz7-Update1 lefts carry debug loglevel.

https://jira.sw.ru/browse/PSBM-48923

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 scripts/vz-cpt.in | 5 +++++
 scripts/vz-rst.in | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/scripts/vz-cpt.in b/scripts/vz-cpt.in
index ca35f6e..44511de 100755
--- a/scripts/vz-cpt.in
+++ b/scripts/vz-cpt.in
@@ -86,6 +86,11 @@ if [ -f "$nfs_actions_path" ]; then
 	nfs_actions="--action-script $nfs_actions_path"
 fi
 
+#
+# FIXME In vz7-Update1 we will have loggin reworked and need
+# to drop this value.
+CRIU_LOGLEVEL=4
+
 mkdir -p $dumpdir &&
 cg_dump_props $dumpdir &&
 criu dump -v$CRIU_LOGLEVEL -o dump.log				\
diff --git a/scripts/vz-rst.in b/scripts/vz-rst.in
index 1e96de7..e487809 100755
--- a/scripts/vz-rst.in
+++ b/scripts/vz-rst.in
@@ -105,6 +105,11 @@ for script in $spfs_scripts; do
 	[ -f "$script" ] && spfs_actions=$spfs_actions"--action-script $script "
 done
 
+#
+# FIXME In vz7-Update1 we will have loggin reworked and need
+# to drop this value.
+CRIU_LOGLEVEL=4
+
 criu restore -v$CRIU_LOGLEVEL				\
 		--file-locks				\
 		--tcp-established			\
-- 
2.7.4



More information about the Devel mailing list