diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-03 10:33:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-03 10:33:55 -0700 |
commit | ac2e339f7c33cd96da165405e8da97ead56a3fff (patch) | |
tree | c4276b17e3c8eb3804066e4838ff78fd486a0a67 | |
parent | d6a6004ff35999045f61f2f05af09f4007d60ac1 (diff) |
tweak some logging levels
-rwxr-xr-x | emcc | 4 | ||||
-rw-r--r-- | tools/shared.py | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -112,7 +112,7 @@ EMCC_CFLAGS = os.environ.get('EMCC_CFLAGS') # Additional compiler flags that we logging.debug('invocation: ' + ' '.join(sys.argv) + (' + ' + EMCC_CFLAGS if EMCC_CFLAGS else '')) if EMCC_CFLAGS: sys.argv.append(EMCC_CFLAGS) -if DEBUG and LEAVE_INPUTS_RAW: logging.error('leaving inputs raw') +if DEBUG and LEAVE_INPUTS_RAW: logging.warning('leaving inputs raw') stdout = PIPE if not DEBUG else None # suppress output of child processes stderr = PIPE if not DEBUG else None # unless we are in DEBUG mode @@ -854,7 +854,7 @@ try: newargs[i] = '' elif newargs[i] == '--clear-cache': newargs[i] = '' - logging.info('clearing cache') + logging.warning('clearing cache') shared.Cache.erase() sys.exit(0) elif newargs[i] == '--save-bc': diff --git a/tools/shared.py b/tools/shared.py index 42eb50c8..f451ee30 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -322,7 +322,7 @@ def check_sanity(force=False): except Exception, e: reason = 'unknown: ' + str(e) if reason: - logging.info('(Emscripten: %s, clearing cache)' % reason) + logging.warning('(Emscripten: %s, clearing cache)' % reason) Cache.erase() # some warning, not fatal checks - do them even if EM_IGNORE_SANITY is on @@ -430,7 +430,7 @@ class Configuration: try: self.TEMP_DIR = TEMP_DIR except NameError: - logging.info('TEMP_DIR not defined in ~/.emscripten, using /tmp') + logging.debug('TEMP_DIR not defined in ~/.emscripten, using /tmp') self.TEMP_DIR = '/tmp' self.CANONICAL_TEMP_DIR = os.path.join(self.TEMP_DIR, 'emscripten_temp') |