From 27fc3282b1743ec47bf79600556e8a35d17dea71 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 20 Feb 2010 18:47:02 +0000 Subject: added logoutput to silence-watch.lua 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 -- cgit v0.10.2