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: