Commits

Travis Shirk  committed 58b49ca

Default log level is warning, again.

  • Participants
  • Parent commits 78653b9
  • Branches stable

Comments (0)

Files changed (2)

File src/eyed3/plugins/__init__.py

 except ImportError:
     from ordereddict import OrderedDict
 from eyed3 import core, utils
-from eyed3.utils.cli import printMsg, printError
+from eyed3.utils.console import printMsg, printError
 
 _PLUGINS = {}
 
             self.audio_file = core.load(f, *args, **kwargs)
         except NotImplementedError as ex:
             # Frame decryption, for instance...
-            printError(ex)
+            printError(str(ex))
             return
 
         if self.audio_file:

File src/eyed3/utils/log.py

     console_handler.setFormatter(logging.Formatter(DEFAULT_FORMAT))
     log.addHandler(console_handler)
 
-    log.setLevel(logging.ERROR)
+    log.setLevel(logging.WARNING)
 
     return log