diff options
-rw-r--r-- | silence-watch.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/silence-watch.lua b/silence-watch.lua index c1cea54..d9afe87 100644 --- a/silence-watch.lua +++ b/silence-watch.lua @@ -46,6 +46,7 @@ function process_cmd(message) "There is some noise at output 1 of the audioswitch\nCurrent State is: " .. message) else if (silence_state == "1") then + log.printf(log.NOTICE, "silence detected") send_mail("logs@helsinki.at", "[RHCTL] silence detected ", "Silence detected at output 1 of the audioswitch, make some noise!!\nCurrent State is: " .. message) end |