Skip to content

Commit

Permalink
Merge "log: set default log level to WARNING"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul CI authored and Gerrit Code Review committed Feb 12, 2019
2 parents 6f43244 + 93d4dce commit 772912f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions distroinfo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import pbr.version
import logging


logging.basicConfig(level=logging.WARNING)
logging.getLogger("distroinfo").setLevel(logging.WARNING)

version_info = pbr.version.VersionInfo('distroinfo')
try:
Expand Down
1 change: 0 additions & 1 deletion distroinfo/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from distroinfo import repoman


logging.basicConfig(level=logging.ERROR)
log = logging.getLogger("distroinfo")


Expand Down
1 change: 0 additions & 1 deletion distroinfo/repoman.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from distroinfo.helpers import git


logging.basicConfig(level=logging.ERROR)
log = logging.getLogger("distroinfo")


Expand Down

0 comments on commit 772912f

Please sign in to comment.