Second chance for texttest.
* Changed logging management in lib/mos/config.py so that 3 levels of logging are defined: debug, info and critical
* Added --loglevel option to bin/MailOnnaStick.py which sets the log level (default is debug).
For example, if --loglevel=info is specified,only info and critical messages will be logged.
* Changed calls to log(msg) to one of log.debug, log.info, log.critical. Most are log.info, errors/exceptions are log.critical,
and verbose debugging stuff is log.debug
* Added helper script gen_texttest_gold.sh which will re-generate golden images for all texttest tests
We should now try the following strategy with texttest:
* When adding new functionality, log it as debug, which will be ignored by texttest
* Run texttest test suite and make sure nothing got broken
* Go back and change log.debug to log.info or log.critical if necessary
|