]> git.parisson.com Git - telecaster-server.git/commitdiff
add path to log
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 13 Jan 2014 14:45:32 +0000 (15:45 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 13 Jan 2014 14:45:32 +0000 (15:45 +0100)
tcserver/conf/home/fluxbox/autostart.sh
tcserver/conf/usr/local/share/telecaster/scripts/monitor_check.py

index bd48661842ecae032554df266535843665be14a3..82efb9a874a6a0c20e9fac354f62fe2839a6f68f 100755 (executable)
@@ -61,3 +61,5 @@ jack_disconnect system:capture_2 gst-launch-0.10-01:in_jackaudiosrc0_2
 jack_connect jack_rack:out_1 gst-launch-0.10-01:in_jackaudiosrc0_1
 jack_connect jack_rack:out_1 gst-launch-0.10-01:in_jackaudiosrc0_2
 
+python /usr/local/share/telecaster/scripts/monitor_check.py 10 /home/telecaster/trash/webm/ angus.parisson.com telecaster@parisson.com alerts@parisson.com &
+
index 01182badc2b8447a865181f4ad6e2cf12e765692..94ecd5e1616bc3c551b0cf68c13d0d88047b7c72 100644 (file)
@@ -48,7 +48,7 @@ class ActivityCheck(Thread):
     def run(self):        
         while True:
             if not self.event_handler.activity:
-                self.logger.logger.error('The monitor is NOT recording anymore!')
+                self.logger.logger.error('The monitor is NOT recording anymore in ' + self.path + ' ! ')
             else:
                 self.event_handler.activity = False
             time.sleep(self.period)