From 457bc20d1b0b72d37ba4ca6a63b7b30044c95c00 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 19 Mar 2020 14:05:18 +0000 Subject: [PATCH] ss: reduce logging of unknown streamtypes There are a few automatic things that look for streamtypes that may or may not exist now - captive_portal_detect - fetch_policy - api_amazon_com_auth logging them as notice every startup is pretty intrusive, change to info. --- lib/secure-streams/secure-streams.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/secure-streams/secure-streams.c b/lib/secure-streams/secure-streams.c index c4578861c..76c5815e1 100644 --- a/lib/secure-streams/secure-streams.c +++ b/lib/secure-streams/secure-streams.c @@ -314,8 +314,8 @@ lws_ss_create(struct lws_context *context, int tsi, const lws_ss_info_t *ssi, pol = lws_ss_policy_lookup(context, ssi->streamtype); if (!pol) { - lwsl_err("%s: unknown stream type %s\n", __func__, - ssi->streamtype); + lwsl_info("%s: unknown stream type %s\n", __func__, + ssi->streamtype); return 1; }