MM2: removed distracting logging
This commit is contained in:
parent
8fe8668802
commit
7ceb9bd84a
|
@ -65,15 +65,16 @@ class BaseListener(object):
|
||||||
|
|
||||||
class OrganizeListener(BaseListener, pyinotify.ProcessEvent, Loggable):
|
class OrganizeListener(BaseListener, pyinotify.ProcessEvent, Loggable):
|
||||||
def process_IN_CLOSE_WRITE(self, event):
|
def process_IN_CLOSE_WRITE(self, event):
|
||||||
self.logger.info("===> handling: '%s'" % str(event))
|
#self.logger.info("===> handling: '%s'" % str(event))
|
||||||
self.process_to_organize(event)
|
self.process_to_organize(event)
|
||||||
# got cookie
|
# got cookie
|
||||||
def process_IN_MOVED_TO(self, event):
|
def process_IN_MOVED_TO(self, event):
|
||||||
self.logger.info("===> handling: '%s'" % str(event))
|
#self.logger.info("===> handling: '%s'" % str(event))
|
||||||
self.process_to_organize(event)
|
self.process_to_organize(event)
|
||||||
|
|
||||||
def process_default(self, event):
|
def process_default(self, event):
|
||||||
self.logger.info("===> Not handling: '%s'" % str(event))
|
pass
|
||||||
|
#self.logger.info("===> Not handling: '%s'" % str(event))
|
||||||
|
|
||||||
def flush_events(self, path):
|
def flush_events(self, path):
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#export PYTHONPATH="/home/rudi/Airtime/python_apps/:/home/rudi/Airtime/python_apps/media-monitor2/"
|
#export PYTHONPATH="/home/rudi/Airtime/python_apps/:/home/rudi/Airtime/python_apps/media-monitor2/"
|
||||||
PYTHONPATH='/home/rudi/Airtime/python_apps/:/home/rudi/Airtime/python_apps/media-monitor2/'
|
PYTHONPATH='/home/rudi/Airtime/python_apps/:/home/rudi/Airtime/python_apps/media-monitor2/'
|
||||||
export PYTHONPATH
|
export PYTHONPATH
|
||||||
python ./mm2.py --config="/home/rudi/Airtime/python_apps/media-monitor2/tests/live_client.cfg" --apiclient="/home/rudi/Airtime/python_apps/media-monitor2/tests/live_client.cfg" --log="/home/rudi/Airtime/python_apps/media-monitor/logging.cfg"
|
python ./mm2.py --config="/etc/airtime/media-monitor.cfg" --apiclient="/etc/airtime/api_client.cfg" --log="/home/rudi/Airtime/python_apps/media-monitor/logging.cfg"
|
||||||
|
|
Loading…
Reference in New Issue