X-Git-Url: http://git.treefish.org/~alex/logalert.git/blobdiff_plain/6e4649c5bae35dc883f50642d81f0b57c6df565b..e05944f24d3638efeb69411293ff4a3f17cdfb93:/src/logalert.py?ds=sidebyside diff --git a/src/logalert.py b/src/logalert.py index 509b246..9722014 100755 --- a/src/logalert.py +++ b/src/logalert.py @@ -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) )