Loading display.py +3 −3 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ if getattr(C, 'DEFAULT_LOG_PATH'): for handler in logging.root.handlers: handler.addFilter(FilterBlackList(getattr(C, 'DEFAULT_LOG_FILTER', []))) else: print("[WARNING]: log file at %s is not writeable and we cannot create it, aborting\n" % path, file=sys.stderr) print("[WARNING]: log file at '%s' is not writeable and we cannot create it, abort logging.\n" % path, file=sys.stderr) # map color to log levels Loading Loading @@ -198,7 +198,7 @@ class Display(with_metaclass(Singleton, object)): self.display("%6d %0.5f [%s]: %s" % (os.getpid(), time.time(), host, msg), color=C.COLOR_DEBUG) def verbose(self, msg, host=None, caplevel=2): """ """ to_stderr = C.VERBOSE_TO_STDERR if self.verbosity > caplevel: if host is None: Loading Loading
display.py +3 −3 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ if getattr(C, 'DEFAULT_LOG_PATH'): for handler in logging.root.handlers: handler.addFilter(FilterBlackList(getattr(C, 'DEFAULT_LOG_FILTER', []))) else: print("[WARNING]: log file at %s is not writeable and we cannot create it, aborting\n" % path, file=sys.stderr) print("[WARNING]: log file at '%s' is not writeable and we cannot create it, abort logging.\n" % path, file=sys.stderr) # map color to log levels Loading Loading @@ -198,7 +198,7 @@ class Display(with_metaclass(Singleton, object)): self.display("%6d %0.5f [%s]: %s" % (os.getpid(), time.time(), host, msg), color=C.COLOR_DEBUG) def verbose(self, msg, host=None, caplevel=2): """ """ to_stderr = C.VERBOSE_TO_STDERR if self.verbosity > caplevel: if host is None: Loading