From d02541c948a71533469663b3400bc4a3179548c2 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 26 May 2009 15:36:51 +0200 Subject: introduced logger --- module/thread_list.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'module/thread_list.py') diff --git a/module/thread_list.py b/module/thread_list.py index 979a98c60..065318a56 100644 --- a/module/thread_list.py +++ b/module/thread_list.py @@ -73,6 +73,7 @@ class Thread_List(object): self.py_downloading.append(pyfile) if not pyfile.plugin.multi_dl: self.occ_plugins.append(pyfile.modul.__name__) + self.parent.logger.info('start downloading ' + pyfile.url ) self.lock.release() return pyfile @@ -85,6 +86,7 @@ class Thread_List(object): self.occ_plugins.remove(pyfile.modul.__name__) self.py_downloading.remove(pyfile) + self.parent.logger.info('finished downloading ' + pyfile.url + ' @'+str(pyfile.status.get_speed())+'kb/s') if pyfile.plugin.plugin_type == "container": self.parent.extend_links(pyfile.plugin.links) -- cgit v1.2.3