[CRIU] Re: [PATCH 6/6] log: Add log-levels

Pavel Emelyanov xemul at parallels.com
Fri Feb 17 13:24:12 EST 2012


> +-v <num>::
> +    Set logging level to 'num'. Valid options are: 0 - (silent, error messages
> +    only), 1 - informative (default), 2 - debug messages.
> +
> +void set_loglevel(unsigned int level)
> +{
> +	if (!level)
> +		loglevel = LOG_ERROR;
> +	else
> +		loglevel = level;
> +}

Default is LOG_ERROR as I see it, not the LOG_WARNING


More information about the CRIU mailing list