Agent: Use logger.warning() instead of depricated warn()

This commit is contained in:
Mike Salvatore 2021-12-03 06:51:59 -05:00
parent bf0e5f098b
commit 23886e2cf7
1 changed files with 2 additions and 2 deletions

View File

@ -54,10 +54,10 @@ class AutomatedMaster(IMaster):
self._simulation_thread.join(SHUTDOWN_TIMEOUT)
if self._simulation_thread.is_alive():
logger.warn("Timed out waiting for the simulation to stop")
logger.warning("Timed out waiting for the simulation to stop")
# Since the master thread and all child threads are daemon threads, they will be
# forcefully killed when the program exits.
logger.warn("Forcefully killing the simulation")
logger.warning("Forcefully killing the simulation")
def _wait_for_master_stop_condition(self):
timer = Timer()