diff options
| author | jvoisin | 2011-11-17 19:05:54 +0100 |
|---|---|---|
| committer | jvoisin | 2011-11-17 19:05:54 +0100 |
| commit | 8899af3e1e3a7d5e098feaaae824413fdc42da4a (patch) | |
| tree | 589ae359f752124474a05f40e9ef43774af2a64a | |
| parent | 7c84e94f3c65f77c471c7dbce146bbbbb362054b (diff) | |
Hachoir's log are now quiet
| -rw-r--r-- | mat/mat.py | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -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 |
| 26 | LOGGING_LEVEL = logging.CRITICAL | 26 | LOGGING_LEVEL = logging.CRITICAL |
| 27 | hachoir_core.config.quiet = True | ||
| 28 | |||
| 29 | #Verbose | ||
| 30 | #LOGGING_LEVEL = logging.DEBUG | ||
| 31 | #hachoir_core.config.quiet = False | ||
| 27 | 32 | ||
| 28 | logging.basicConfig(filename='report.log', level=LOGGING_LEVEL) | 33 | logging.basicConfig(filename='report.log', level=LOGGING_LEVEL) |
| 29 | 34 | ||
