summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2011-12-05 16:48:59 +0100
committerjvoisin2011-12-05 16:48:59 +0100
commit52fef0b1682057f6c34ecf373bdf545e3e3c0217 (patch)
treeaf5b3b2123f51ed10ac3cbb97959690da22993bf
parent338324eeb54806bc7b55e78e35c6831f8dfad8a7 (diff)
Silence for the logger
-rw-r--r--mat/mat.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mat/mat.py b/mat/mat.py
index 7fab98c..dfd4c12 100644
--- a/mat/mat.py
+++ b/mat/mat.py
@@ -21,12 +21,14 @@ __author__ = 'jvoisin'
21#Silence 21#Silence
22LOGGING_LEVEL = logging.CRITICAL 22LOGGING_LEVEL = logging.CRITICAL
23hachoir_core.config.quiet = True 23hachoir_core.config.quiet = True
24fname = ''
24 25
25#Verbose 26#Verbose
26#LOGGING_LEVEL = logging.DEBUG 27#LOGGING_LEVEL = logging.DEBUG
27#hachoir_core.config.quiet = False 28#hachoir_core.config.quiet = False
29#logname = 'report.log'
28 30
29logging.basicConfig(filename='report.log', level=LOGGING_LEVEL) 31logging.basicConfig(filename=fname, level=LOGGING_LEVEL)
30 32
31 33
32def get_sharedir(): 34def get_sharedir():