Skip to content
1 change: 1 addition & 0 deletions liveMonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def monitorLogFile(camloc, rmscfg):
logfs.sort(key=lambda x: os.path.getmtime(x))
logf = logfs[-1]
loglines.close()
raise StopIteration
else:
if "Data directory" in line or 'New data directory' in line:
newcapdir = line.split(' ')[5].strip()
Expand Down
1 change: 1 addition & 0 deletions ukmonPostProc.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import RMS.ConfigReader as cr
from importlib import import_module as impmod
import logging
import logging.handlers
import datetime

from uploadToArchive import uploadToArchive, readIniFile
Expand Down
1 change: 1 addition & 0 deletions uploadToArchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
log = logging.getLogger("ukmonlogger")
logging.getLogger("paramiko").setLevel(logging.WARNING)


def readKeyFile(filename, inifvals):
if not os.path.isfile(filename):
log.error('Keyfile {} not downloaded. Check ssh key and station location with ukmon team.'.format(filename))
Expand Down