CORD-1002: Fix a hang (long wait) in logstash_tail

Change-Id: Ie2e07665759d86877bcbfa34f2d923f69aada46a
diff --git a/elk-logger/logstash_tail b/elk-logger/logstash_tail
index a4d6f29..6b29718 100755
--- a/elk-logger/logstash_tail
+++ b/elk-logger/logstash_tail
@@ -25,7 +25,6 @@
 parse.add_argument('--format', dest='format', action='store',default=None, help='Format e.g. Ansible')
 parse.add_argument('--hostport', dest='hostport', action='store',default=None, help='Logstash UDP host:port')
 parse.add_argument('--file', dest='filename', action='store',default=None, help='Filename to follow')
- 
 
 args = parse.parse_args()
 
@@ -95,8 +94,6 @@
     inp = ''
     lc = 0
 
-    
-
     if (args.filename):
         source = follow(open(args.filename))
 
@@ -108,6 +105,8 @@
 
         if (l==""):
             break
+        elif len(l)>200:
+            continue
 
         inp += l
         lc = len(inp.split('\n'))