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

Cyrill Gorcunov gorcunov at openvz.org
Fri Feb 17 13:38:42 EST 2012


On Fri, Feb 17, 2012 at 10:24:12PM +0400, Pavel Emelyanov wrote:
> > +-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 

Crap, what a day...

	Cyrill


More information about the CRIU mailing list