diff options
| author | jvoisin | 2011-11-17 18:54:11 +0100 |
|---|---|---|
| committer | jvoisin | 2011-11-17 18:54:11 +0100 |
| commit | 7c84e94f3c65f77c471c7dbce146bbbbb362054b (patch) | |
| tree | c4da81ac92c96fef4d59f72d0fcdbb0b08adf488 | |
| parent | fbc9d15115df53264ed06ff995c79ed745b7bcb8 (diff) | |
Quiet the logging module
| -rw-r--r-- | mat/mat.py | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -22,9 +22,10 @@ import misc | |||
| 22 | __version__ = '0.1' | 22 | __version__ = '0.1' |
| 23 | __author__ = 'jvoisin' | 23 | __author__ = 'jvoisin' |
| 24 | 24 | ||
| 25 | LOGGING_LEVEL = logging.DEBUG | 25 | #LOGGING_LEVEL = logging.DEBUG |
| 26 | LOGGING_LEVEL = logging.CRITICAL | ||
| 26 | 27 | ||
| 27 | logging.basicConfig(level=LOGGING_LEVEL) | 28 | logging.basicConfig(filename='report.log', level=LOGGING_LEVEL) |
| 28 | 29 | ||
| 29 | STRIPPERS = { | 30 | STRIPPERS = { |
| 30 | 'application/x-tar': archive.TarStripper, | 31 | 'application/x-tar': archive.TarStripper, |
