This commit is contained in:
Krukov Dima 2016-09-16 20:34:20 +00:00
parent 2176b209f7
commit c6270e7e4e

View File

@ -113,12 +113,12 @@ class CommandLineInterface(object):
args = self.parser.parse_args(args)
# Set up logging
logging.basicConfig(
level = {
level={
0: logging.WARN,
1: logging.INFO,
2: logging.DEBUG,
}[args.verbosity],
format = "%(asctime)-15s %(levelname)-8s %(message)s" ,
format="%(asctime)-15s %(levelname)-8s %(message)s",
)
# If verbosity is 1 or greater, or they told us explicitly, set up access log
access_log_stream = None