code: def stoplog(self):
          
          if self._file_logger:
              self.logger.removeHandler(_file_logger)
              self._file_logger = None
          return 1
docs: Stop logging.
      
          @return: 1 on success and 0 on error
          @rtype: integer