|
|
|
@ -41,6 +41,7 @@ class Top(Thread):
|
|
|
|
|
self.quit = True
|
|
|
|
|
def run(self):
|
|
|
|
|
while self.quit == False:
|
|
|
|
|
print ' ** ',self.name,datetime.datetime.today()
|
|
|
|
|
for label in self.config :
|
|
|
|
|
self.lock.acquire()
|
|
|
|
|
gwriter = self.factory.instance(type=self.write_class,args=self.rw_args)
|
|
|
|
@ -113,6 +114,7 @@ class Learner(Thread) :
|
|
|
|
|
while self.quit == False:
|
|
|
|
|
r = {}
|
|
|
|
|
lapps = list(self.apps)
|
|
|
|
|
print ' ** ',self.name,datetime.datetime.today()
|
|
|
|
|
for key in data :
|
|
|
|
|
logs = data[key]
|
|
|
|
|
#
|
|
|
|
|