Example #1
0
	def delLogPath(self, path):
		if not self.containsLogPath(path):
			logSys.error(path + " is not monitored")
		else:
			self.monitor.stop_watch(path)
			FileFilter.delLogPath(self, path)
			logSys.info("Removed logfile = %s" % path)
Example #2
0
 def delLogPath(self, path):
     if not self.containsLogPath(path):
         logSys.error(path + " is not monitored")
     else:
         self.monitor.stop_watch(path)
         FileFilter.delLogPath(self, path)
         logSys.info("Removed logfile = %s" % path)
Example #3
0
	def delLogPath(self, path):
		if not self.containsLogPath(path):
			logSys.error(path + " is not monitored")
		else:
			del self.__lastModTime[path]
			del self.__file404Cnt[path]
			FileFilter.delLogPath(self, path)
			logSys.info("Removed logfile = %s" % path)
 def delLogPath(self, path):
     if not self.containsLogPath(path):
         logSys.error(path + " is not monitored")
     else:
         del self.__lastModTime[path]
         del self.__file404Cnt[path]
         FileFilter.delLogPath(self, path)
         logSys.info("Removed logfile = %s" % path)
Example #5
0
	def delLogPath(self, path):
		if not self.containsLogPath(path):
			logSys.error(path + " is not monitored")
		else:
			wdInt = self.__watches[path]
			wd = self.__monitor.rm_watch(wdInt)
			if wd[wdInt]:
				del self.__watches[path]
				FileFilter.delLogPath(self, path)
				logSys.info("Removed logfile = %s" % path)
			else:
				logSys.error("Failed to remove watch on path: %s", path)
Example #6
0
 def delLogPath(self, path):
     if not self.containsLogPath(path):
         logSys.error(path + " is not monitored")
     else:
         wdInt = self.__watches[path]
         wd = self.__monitor.rm_watch(wdInt)
         if wd[wdInt]:
             del self.__watches[path]
             FileFilter.delLogPath(self, path)
             logSys.info("Removed logfile = %s" % path)
         else:
             logSys.error("Failed to remove watch on path: %s", path)