]> git.treefish.org Git - logalert.git/blobdiff - src/logalert.py
removing unused class
[logalert.git] / src / logalert.py
index 509b24655197c6c75db861612de69341cfc91fd4..972201434dc2011b4b571ac796fbafc64a2c160c 100755 (executable)
@@ -7,8 +7,6 @@ import shlex
 import subprocess
 import time
 
-from line import Line
-
 MAX_LINES = 10
 ALERT_INTERVAL = 86400
 
@@ -113,8 +111,3 @@ for line in follow(args.logfile):
         if error_state:
             logging.info("Leaving error state.")
             error_state = False
-            feed_handler( create_msg("Log Un-Alert",
-                                     "🌞",
-                                     args.logfile,
-                                     "Log is back to normal.",
-                                     lines) )