performs better without it
This commit is contained in:
@ -273,7 +273,6 @@ class Logtail(plugins.Plugin):
|
|||||||
if path == 'stream':
|
if path == 'stream':
|
||||||
def generate():
|
def generate():
|
||||||
with open(self.config['main']['log']['path']) as f:
|
with open(self.config['main']['log']['path']) as f:
|
||||||
yield f.read()
|
|
||||||
while True:
|
while True:
|
||||||
yield f.readline()
|
yield f.readline()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user