summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pykolab/logger.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/logger.py b/pykolab/logger.py
index 168b338..e6d5a91 100644
--- a/pykolab/logger.py
+++ b/pykolab/logger.py
@@ -56,7 +56,8 @@ class Logger:
self.cfg = cfg
def info(self, msg):
- self.log.info(msg)
+ if not self.cfg.quiet:
+ self.log.info(msg)
def debug(self, msg, level=1):
# By default, level=1 so that debug messages are suppressed