Commit ea7f0cb1 authored by Claudemir Todo Bom's avatar Claudemir Todo Bom
Browse files

* log rotation detection (3rd try)

parent 29cfe3ac
......@@ -83,7 +83,7 @@ class LogDigest:
logFile = self.openfile(rotatedFile, self.status["position"])
self.readfile(logFile)
self.status["position"] = 0
self.lastupdate = os.path.getmtime(rotatedFile)
self.lastupdate = os.path.getmtime(rotatedFile)+1
finally:
logFile = self.openfile(self.conf["filename"], self.status["position"])
self.readfile(logFile)
......
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