ReviewBot: simplify logger format.

The output is rather verbose, especially inside journals, and not terribly
helpful.
This commit is contained in:
Jimmy Berry 2017-08-23 15:00:33 -05:00
parent 55aeefacb4
commit f88e8a9297

View File

@ -513,7 +513,7 @@ class CommandLineInterface(cmdln.Cmdln):
elif (self.options.verbose): elif (self.options.verbose):
level = logging.INFO level = logging.INFO
logging.basicConfig(level=level) logging.basicConfig(level=level, format='[%(levelname).1s] %(message)s')
self.logger = logging.getLogger(self.optparser.prog) self.logger = logging.getLogger(self.optparser.prog)
conf.get_config(override_apiurl = self.options.apiurl) conf.get_config(override_apiurl = self.options.apiurl)