From 966a86cf36c245e228dff467b420e87195436ed1 Mon Sep 17 00:00:00 2001 From: Julien Enselme Date: Thu, 22 Aug 2024 09:26:22 +0200 Subject: [PATCH] fixup! Switch to log.warning instead of log.warn --- autobahn/wamp/component.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autobahn/wamp/component.py b/autobahn/wamp/component.py index b5113d291..5da892d32 100644 --- a/autobahn/wamp/component.py +++ b/autobahn/wamp/component.py @@ -706,7 +706,7 @@ def transport_check(_): break delay = transport.next_delay() - self.log.warning( + self.log.warn( 'trying transport {transport_idx} ("{transport_url}") using connect delay {transport_delay}', transport_idx=transport.idx, transport_url=transport.url, @@ -831,7 +831,7 @@ def on_disconnect(session, was_clean): ) if not txaio.is_called(done): if not was_clean: - self.log.warning( + self.log.warn( "Session disconnected uncleanly" ) else: