From 62785962b94c34db9b9673726fb17801bb53e433 Mon Sep 17 00:00:00 2001 From: Robert Bikar Date: Mon, 9 Aug 2021 12:58:36 +0200 Subject: [PATCH] Add setup for pubtools.pulplib logger Now INFO level logs from pubtools.pulplib will be logged. --- ubipop/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubipop/cli.py b/ubipop/cli.py index 9a30260..763b7c5 100644 --- a/ubipop/cli.py +++ b/ubipop/cli.py @@ -96,7 +96,7 @@ def parse_args(args): def main(args): logging.basicConfig(format=DEFAULT_LOG_FMT, datefmt=DEFAULT_DATE_FMT) - + logging.getLogger("pubtools.pulplib").setLevel(logging.INFO) opts, auth = parse_args(args) ubipop.UbiPopulate(