Skip to content

Commit

Permalink
Add setup for pubtools.pulplib logger
Browse files Browse the repository at this point in the history
Now INFO level logs from pubtools.pulplib will be logged.
  • Loading branch information
rbikar committed Aug 9, 2021
1 parent cb40dfe commit 6278596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubipop/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6278596

Please sign in to comment.