debug reduce noise
authorAndy Green <andy.green@linaro.org>
Tue, 16 Feb 2016 10:47:24 +0000 (18:47 +0800)
committerAndy Green <andy.green@linaro.org>
Tue, 16 Feb 2016 10:47:24 +0000 (18:47 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/parsers.c
lib/server.c

index 3c49bec..971cdd6 100644 (file)
@@ -207,7 +207,7 @@ int lws_header_table_detach(struct lws *wsi)
        }
        time(&now);
        if (now - wsi->u.hdr.ah->assigned > 3)
-               lwsl_err("header assign - free time %d\n",
+               lwsl_notice("header assign - free time %d\n",
                         (int)(now - wsi->u.hdr.ah->assigned));
 
        /* if we think we're detaching one, there should be one in use */
index d412b7d..5f5de17 100644 (file)
@@ -551,7 +551,7 @@ upgrade_ws:
 
                default:
                        lwsl_warn("Unknown client spec version %d\n",
-                                                      wsi->ietf_spec_revision);
+                                 wsi->ietf_spec_revision);
                        goto bail_nuke_ah;
                }
 
@@ -562,8 +562,9 @@ upgrade_ws:
                 * upgrade request and to already be in the ah rx buffer.
                 */
 
-               lwsl_err("%s: %p: inheriting ah in ws mode (rxpos: %d, rxlen: %d)\n",
-                               __func__, wsi, wsi->u.hdr.ah->rxpos, wsi->u.hdr.ah->rxlen);
+               lwsl_info("%s: %p: inheriting ah in ws mode (rxpos:%d, rxlen:%d)\n",
+                         __func__, wsi, wsi->u.hdr.ah->rxpos,
+                         wsi->u.hdr.ah->rxlen);
                lws_pt_lock(pt);
                hdr = wsi->u.hdr;