Commit 3121d90d authored by Andrei Vagin's avatar Andrei Vagin Committed by Andrei Vagin

criu: print a criu version with the info level

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: 's avatarAndrei Vagin <avagin@openvz.org>
Reviewed-by: 's avatarDmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent ffee0772
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment