aboutsummaryrefslogtreecommitdiff
path: root/src/wikiget/logging.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/wikiget/logging.py')
-rw-r--r--src/wikiget/logging.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wikiget/logging.py b/src/wikiget/logging.py
index c0b5c12..9dec9c3 100644
--- a/src/wikiget/logging.py
+++ b/src/wikiget/logging.py
@@ -26,9 +26,9 @@ class FileLogAdapter(logging.LoggerAdapter):
def configure_logging(verbosity: int, logfile: str, *, quiet: bool) -> None:
- loglevel = logging.WARNING
+ loglevel = logging.WARNING # default log level
if verbosity >= wikiget.VERY_VERBOSE:
- # this includes API and library messages
+ # this includes API and library messages, not just from wikiget
loglevel = logging.DEBUG
elif verbosity >= wikiget.STD_VERBOSE:
loglevel = logging.INFO