diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/quantifi_status.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/quantifi_status.py b/python/quantifi_status.py index 43b28e0b..baa053ea 100644 --- a/python/quantifi_status.py +++ b/python/quantifi_status.py @@ -3,6 +3,9 @@ from contextlib import contextmanager from paramiko.ssh_exception import SSHException from report_ops.status import QuantifiRemote +from report_ops.logger import get_logger + +logger = get_logger(__name__) @contextmanager @@ -30,6 +33,7 @@ def run(): try: for f in QuantifiRemote._client.list_files("/OUTGOING/Status"): QuantifiRemote.process(f) + logger.info(f) except (SSHException, OSError): close_and_reconnect() time.sleep(60) |
