Skip to content
Snippets Groups Projects
Commit e36b94bc authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #9607: ssh -t -> ssh

parent 71a33ab2
Branches
Tags
No related merge requests found
...@@ -652,9 +652,9 @@ def getTaskLogHtml(task_id): ...@@ -652,9 +652,9 @@ def getTaskLogHtml(task_id):
cmd = [] cmd = []
if task['type'] == 'pipeline': if task['type'] == 'pipeline':
cmd = ['ssh', '-t', 'lofarsys@head01.cep4.control.lofar', 'cat /data/log/pipeline-%s-*.log' % task['otdb_id']] cmd = ['ssh', 'lofarsys@head01.cep4.control.lofar', 'cat /data/log/pipeline-%s-*.log' % task['otdb_id']]
else: else:
cmd = ['ssh', '-t', 'mcu001.control.lofar', 'cat /opt/lofar/var/log/MCU001\\:ObservationControl\\[0\\]\\{%s\\}.log*' % task['otdb_id']] cmd = ['ssh', 'mcu001.control.lofar', 'cat /opt/lofar/var/log/MCU001\\:ObservationControl\\[0\\]\\{%s\\}.log*' % task['otdb_id']]
logger.info(' '.join(cmd)) logger.info(' '.join(cmd))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment