Update old logging code to use TFW global logging

This commit is contained in:
Kristóf Tóth 2018-04-13 16:46:11 +02:00
parent c33a2f8103
commit 512a965328
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class DirectoryMonitoringEventHandler(TriggerlessEventHandler):
try:
self._monitor.stop()
except KeyError:
logging.debug('Working directory was removed ignoring...')
LOG.debug('Working directory was removed ignoring...')
self._monitor = DirectoryMonitor(self._directory)
self._monitor.watch() # This runs on a separate thread

View File

@ -115,7 +115,7 @@ class WebideEventHandler(TriggerlessEventHandler):
try:
self._monitor.stop()
except KeyError:
logging.debug('Working directory was removed ignoring...')
LOG.debug('Working directory was removed ignoring...')
self._monitor = DirectoryMonitor(self.filemanager.workdir)
self._monitor.watch() # This runs on a separate thread