debug reduce noise

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2016-02-16 18:47:24 +08:00
parent 9c60ed9d07
commit 7714f71e4e
2 changed files with 5 additions and 4 deletions

View 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 */

View 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;