diff --git a/emcc b/emcc index 0b973568c..5d63a46c3 100755 --- a/emcc +++ b/emcc @@ -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 42eb50c86..f451ee30d 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')