diff --git a/criu/crtools.c b/criu/crtools.c index 829e5d796..2f89b69cf 100644 --- a/criu/crtools.c +++ b/criu/crtools.c @@ -700,6 +700,8 @@ int main(int argc, char *argv[], char *envp[]) } } + log_set_loglevel(log_level); + if (early_init()) return -1; @@ -796,7 +798,6 @@ int main(int argc, char *argv[], char *envp[]) return 1; } - log_set_loglevel(log_level); if (log_init(opts.output)) return 1;