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