code: def _degrade_debug(self, degrade, msg, *args):
          
          if degrade:
              if not self._rotateFailed:
                  sys.stderr.write("Degrade mode - ENTERING - (pid=%d)  %s\n" %
                                   (os.getpid(), msg % args))
                  self._rotateFailed = True
          else:
              if self._rotateFailed:
                  sys.stderr.write("Degrade mode - EXITING  - (pid=%d)   %s\n" %
                                   (os.getpid(), msg % args))
                  self._rotateFailed = False
docs: A more colorful version of _degade(). (This is enabled by passing
          "debug=True" at initialization).