Commit edebec73 authored by Guillaume Seguin's avatar Guillaume Seguin

Set default logging verbosity to INFO (#482)

parent e3af95cd
...@@ -36,6 +36,7 @@ def install_locale(domain): ...@@ -36,6 +36,7 @@ def install_locale(domain):
def setup_logging(out): def setup_logging(out):
logger = logging.getLogger() logger = logging.getLogger()
logger.setLevel(logging.INFO)
logger.handlers = [] logger.handlers = []
logging_handler = logging.StreamHandler(out) logging_handler = logging.StreamHandler(out)
logging_handler.setFormatter(logging.Formatter("[%(levelname)s] %(message)s")) logging_handler.setFormatter(logging.Formatter("[%(levelname)s] %(message)s"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment