criu: print a criu version with the info level

Submitted by Andrei Vagin on Nov. 22, 2017, 12:33 a.m.


Message ID
State New
Series "criu: print a criu version with the info level"
Headers show

Commit Message

Andrei Vagin Nov. 22, 2017, 12:33 a.m.
We always ask users what version of criu they use to investigate a problem,
so it better to have it in a log.

Signed-off-by: Andrei Vagin <>
 criu/crtools.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/criu/crtools.c b/criu/crtools.c
index 741b7b2eb..de74e483c 100644
--- a/criu/crtools.c
+++ b/criu/crtools.c
@@ -713,7 +713,7 @@  int main(int argc, char *argv[], char *envp[])
 	libsoccr_set_log(log_level, soccr_print_on_level);
 	compel_log_init(vprint_on_level, log_get_loglevel());
-	pr_debug("Version: %s (gitid %s)\n", CRIU_VERSION, CRIU_GITID);
+	pr_info("Version: %s (gitid %s)\n", CRIU_VERSION, CRIU_GITID);
 	if (opts.deprecated_ok)
 		pr_debug("DEPRECATED ON\n");