Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hsds/hsds_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _enqueue_output(out, queue, loglevel):
logging.debug("_enqueue_output close()")
out.close()
except ValueError as ve:
logging.warn(f"_enqueue_output - ValueError (handle closed?): {ve}")
logging.warning(f"_enqueue_output - ValueError (handle closed?): {ve}")
except Exception as e:
logging.error(f"_enqueue_output - Unexpected exception {type(e)}: {e}")

Expand Down Expand Up @@ -216,7 +216,7 @@ def check_processes(self):
if p.poll() is not None:
result = p.communicate()
msg = f"process {pname} ended, result: {result}"
self.log.warn(msg)
self.log.warning(msg)
# TBD - restart failed process

def run(self):
Expand Down
Loading