> +-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