From 8899af3e1e3a7d5e098feaaae824413fdc42da4a Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 17 Nov 2011 19:05:54 +0100 Subject: Hachoir's log are now quiet --- mat/mat.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 __version__ = '0.1' __author__ = 'jvoisin' -#LOGGING_LEVEL = logging.DEBUG +#Silence LOGGING_LEVEL = logging.CRITICAL +hachoir_core.config.quiet = True + +#Verbose +#LOGGING_LEVEL = logging.DEBUG +#hachoir_core.config.quiet = False logging.basicConfig(filename='report.log', level=LOGGING_LEVEL) -- cgit v1.3