summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Šplíchal <psplicha@redhat.com>2011-10-08 20:33:36 +0200
committerPetr Šplíchal <psplicha@redhat.com>2011-10-08 20:33:36 +0200
commit4655cdc3bae00bd6dbcb201d49b22dd09ad597d1 (patch)
treeee923fa60e406a06c605b79c9e23e2e39483a26e
parentcf87e057f9281b0d003c74c756b03f0e855aed5e (diff)
downloadpython-nitrate-4655cdc3bae00bd6dbcb201d49b22dd09ad597d1.zip
python-nitrate-4655cdc3bae00bd6dbcb201d49b22dd09ad597d1.tar.gz
python-nitrate-4655cdc3bae00bd6dbcb201d49b22dd09ad597d1.tar.xz
Nitrate: Coloring & caching info belongs to the debug level
-rw-r--r--Nitrate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Nitrate.py b/Nitrate.py
index ebde369..aa5107e 100644
--- a/Nitrate.py
+++ b/Nitrate.py
@@ -169,7 +169,7 @@ def setCacheLevel(level=None):
_cache = level
else:
raise NitrateError("Invalid cache level '{0}'".format(level))
- log.info("Caching on level {0}".format(_cache))
+ log.debug("Caching on level {0}".format(_cache))
setCacheLevel()
@@ -212,7 +212,7 @@ def setColorMode(mode=None):
_color = sys.stdout.isatty()
else:
_color = mode == 1
- log.info("Coloring {0}".format(_color and "enabled" or "disabled"))
+ log.debug("Coloring {0}".format(_color and "enabled" or "disabled"))
def color(text, color=None, background=None, light=False):
""" Return text in desired color if coloring enabled. """