From eefb4e105f7c55da6331e583c60051c5fcdc0137 Mon Sep 17 00:00:00 2001 From: Samuel Longchamps Date: Mon, 14 Dec 2020 14:19:19 -0500 Subject: [PATCH] Warning spamming in Transport.onclose Closes #538 --- packages/autobahn/lib/connection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/autobahn/lib/connection.js b/packages/autobahn/lib/connection.js index bbf7d9e2..ef3bd229 100644 --- a/packages/autobahn/lib/connection.js +++ b/packages/autobahn/lib/connection.js @@ -338,7 +338,7 @@ Connection.prototype.open = function () { will_retry: next_retry.will_retry }; - log.warn("connection closed", reason, details); + log.debug("connection closed", reason, details); // fire app code handler // @@ -375,7 +375,7 @@ Connection.prototype.open = function () { log.warn("giving up trying to auto-reconnect!"); } } else { - log.warn("auto-reconnect disabled!", self._retry, stop_retrying); + log.debug("auto-reconnect disabled!", self._retry, stop_retrying); } } }