Remove print statements I had left in during debugging. Oops.
This commit is contained in:
parent
f150d8bae5
commit
6e2c10b008
1 changed files with 0 additions and 2 deletions
|
|
@ -159,12 +159,10 @@ class EvenniaLogFile(logfile.LogFile):
|
||||||
|
|
||||||
def rotate(self):
|
def rotate(self):
|
||||||
append_tail = self.num_lines_to_append > 0
|
append_tail = self.num_lines_to_append > 0
|
||||||
print "append_tail is %s" % append_tail
|
|
||||||
if not append_tail:
|
if not append_tail:
|
||||||
logfile.LogFile.rotate(self)
|
logfile.LogFile.rotate(self)
|
||||||
return
|
return
|
||||||
lines = tail_log_file(self.path, 0, self.num_lines_to_append)
|
lines = tail_log_file(self.path, 0, self.num_lines_to_append)
|
||||||
print "lines is %s" % lines
|
|
||||||
logfile.LogFile.rotate(self)
|
logfile.LogFile.rotate(self)
|
||||||
for line in lines:
|
for line in lines:
|
||||||
self.write(line)
|
self.write(line)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue