ReviewBot: simplify logger format.
The output is rather verbose, especially inside journals, and not terribly helpful.
This commit is contained in:
parent
55aeefacb4
commit
f88e8a9297
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user