summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2011-11-17 19:05:54 +0100
committerjvoisin2011-11-17 19:05:54 +0100
commit8899af3e1e3a7d5e098feaaae824413fdc42da4a (patch)
tree589ae359f752124474a05f40e9ef43774af2a64a
parent7c84e94f3c65f77c471c7dbce146bbbbb362054b (diff)
Hachoir's log are now quiet
-rw-r--r--mat/mat.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/mat/mat.py b/mat/mat.py
index 2c145b7..9809c33 100644
--- a/mat/mat.py
+++ b/mat/mat.py
@@ -22,8 +22,13 @@ import misc
22__version__ = '0.1' 22__version__ = '0.1'
23__author__ = 'jvoisin' 23__author__ = 'jvoisin'
24 24
25#LOGGING_LEVEL = logging.DEBUG 25#Silence
26LOGGING_LEVEL = logging.CRITICAL 26LOGGING_LEVEL = logging.CRITICAL
27hachoir_core.config.quiet = True
28
29#Verbose
30#LOGGING_LEVEL = logging.DEBUG
31#hachoir_core.config.quiet = False
27 32
28logging.basicConfig(filename='report.log', level=LOGGING_LEVEL) 33logging.basicConfig(filename='report.log', level=LOGGING_LEVEL)
29 34