Commit 07b5d48c authored by Sergio Bruni's avatar Sergio Bruni

Last Commit

parent 99092369
......@@ -300,7 +300,8 @@ class DaemonGPS(daemon.Daemon):
self.downloader = self.instantiate_downloader()
if self.error:
self.logger.error("%s" % (self.error))
self.logger.warning("end process %s" % (self.conf_rete["name"]))
self.logger.warning(
"ended process %s. New created files: %d" % (self.conf_rete["name"], self.new_created_files))
shutil.rmtree(self.tmpdirname)
self.DBsetErrorsFlag(True)
self.DBsetRunningFlag(False)
......@@ -330,7 +331,7 @@ class DaemonGPS(daemon.Daemon):
self.DBsetRunningFlag(False)
finally:
self.removeLogger()
self.logger.warning("end process %s. New created files: [%d]" % (self.conf_rete["name"]), self.new_created_files)
self.logger.warning("ended process %s. New created files: %d" % (self.conf_rete["name"], self.new_created_files))
def analizeLog(self):
logFileName = self.logger.handlers[0].baseFilename
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment