quench logging
authorAndy Green <andy@warmcat.com>
Sun, 21 Aug 2016 23:07:10 +0000 (07:07 +0800)
committerAndy Green <andy@warmcat.com>
Sun, 21 Aug 2016 23:07:10 +0000 (07:07 +0800)
lib/libwebsockets.c
lib/output.c

index ef70e1f..33bdb89 100755 (executable)
@@ -190,7 +190,7 @@ lws_close_free_wsi(struct lws *wsi, enum lws_close_status reason)
        if (wsi->cgi) {
                struct lws_cgi **pcgi = &pt->cgi_list;
                /* remove us from the cgi list */
-               lwsl_notice("%s: remove cgi %p from list\n", __func__, wsi->cgi);
+               lwsl_debug("%s: remove cgi %p from list\n", __func__, wsi->cgi);
                while (*pcgi) {
                        if (*pcgi == wsi->cgi) {
                                /* drop us from the pt cgi list */
index 273314c..3fa9f52 100644 (file)
@@ -636,7 +636,7 @@ all_sent:
                        lws_plat_file_close(wsi, wsi->u.http.fd);
                        wsi->u.http.fd = LWS_INVALID_FILE;
                        
-                       lwsl_notice("file completed\n");
+                       lwsl_debug("file completed\n");
 
                        if (wsi->protocol->callback)
                                /* ignore callback returned value */