diff --git a/src/abci/server.py b/src/abci/server.py index 6634e32..efee508 100644 --- a/src/abci/server.py +++ b/src/abci/server.py @@ -146,7 +146,7 @@ def run(self) -> None: log.info(" ~ running app - press CTRL-C to stop ~") loop.run_until_complete(self._start()) except: - log.warn(" ... shutting down") + log.warning(" ... shutting down") if on_windows: loop.run_until_complete(_stop()) finally: @@ -202,7 +202,7 @@ async def _stop() -> None: Clean up all async tasks. Called on a signal or a connection closed by tendermint """ - log.warn(" ... received exit signal") + log.warning(" ... received exit signal") tasks = [t for t in asyncio.all_tasks() if t is not asyncio.current_task()] for task in tasks: task.cancel()