lib/ff/ruby/server/sdk/api/auth_service.rb in ff-ruby-server-sdk-1.1.0 vs lib/ff/ruby/server/sdk/api/auth_service.rb in ff-ruby-server-sdk-1.1.1

- old
+ new

@@ -34,11 +34,11 @@ elsif should_retry_http_code http_code delay_ms = @retry_delay_ms * [10, attempt].min @logger.warn "Got HTTP code #{http_code} while authenticating on attempt #{attempt}, will retry in #{delay_ms} ms" sleep(delay_ms/1000) attempt += 1 - @logger.info "Retrying to authenticate, attempt #{attempt}..." + SdkCodes::warn_auth_retying @logger, attempt else @logger.warn "Auth Service got HTTP code #{http_code} while authenticating, will not attempt to reconnect" @callback.on_auth_failed stop_async next @@ -65,13 +65,13 @@ end end def stop_async if @thread != nil - @logger.info "Stopping Auth service, status=#{@thread.status}" + @logger.debug "Stopping Auth service, status=#{@thread.status}" @thread.exit @thread = nil - @logger.info "Stopping Auth service done" + @logger.debug "Stopping Auth service done" end end private \ No newline at end of file