'Begin or end of reloading resp. refreshing of all parameters'

def reload(self, begin=True):

    if begin:
        self.clearAllParams()
        if hasattr(self, 'getLogPaths'):
            self._reload_logs = dict(((k, 1) for k in self.getLogPaths()))
    elif hasattr(self, '_reload_logs'):
        for path in self._reload_logs:
            self.delLogPath(path)
        delattr(self, '_reload_logs')
