diff --git a/lib/core-net/adopt.c b/lib/core-net/adopt.c index 2444ff69b..dcd6e0f85 100644 --- a/lib/core-net/adopt.c +++ b/lib/core-net/adopt.c @@ -389,7 +389,7 @@ lws_adopt_descriptor_vhost2(struct lws *new_wsi, lws_adoption_type type, * (here) and h2 (at lws_wsi_server_new()) */ - lwsl_notice("%s: wsi %p, vhost %s ss_handle %p\n", __func__, new_wsi, + lwsl_info("%s: wsi %p, vhost %s ss_handle %p\n", __func__, new_wsi, new_wsi->a.vhost->name, new_wsi->a.vhost->ss_handle); if (lws_adopt_ss_server_accept(new_wsi)) diff --git a/lib/core-net/dummy-callback.c b/lib/core-net/dummy-callback.c index 279fa022a..8e7c782c0 100644 --- a/lib/core-net/dummy-callback.c +++ b/lib/core-net/dummy-callback.c @@ -338,7 +338,7 @@ lws_callback_http_dummy(struct lws *wsi, enum lws_callback_reasons reason, wsi->reason_bf &= ~LWS_CB_REASON_AUX_BF__CGI; if (wsi->http.cgi && wsi->http.cgi->cgi_transaction_over) { - lwsl_notice("%s: txn over\n", __func__); + lwsl_info("%s: txn over\n", __func__); return -1; } diff --git a/lib/plat/unix/unix-spawn.c b/lib/plat/unix/unix-spawn.c index 56fcbfebb..9d2d20759 100644 --- a/lib/plat/unix/unix-spawn.c +++ b/lib/plat/unix/unix-spawn.c @@ -191,7 +191,7 @@ lws_spawn_reap(struct lws_spawn_piped *lsp) */ if (!lsp->ungraceful && lsp->pipes_alive) { - lwsl_notice("%s: %d stdwsi alive, not reaping\n", __func__, + lwsl_info("%s: %d stdwsi alive, not reaping\n", __func__, lsp->pipes_alive); return 0; } @@ -218,7 +218,7 @@ lws_spawn_reap(struct lws_spawn_piped *lsp) temp = *lsp; n = waitid(P_PID, lsp->child_pid, &temp.si, WEXITED | WNOHANG); temp.si.si_status &= 0xff; /* we use b8 + for flags */ - lwsl_notice("%s: waitd says %d, process exit %d\n", + lwsl_info("%s: waitd says %d, process exit %d\n", __func__, n, temp.si.si_status); lsp->child_pid = -1; @@ -411,7 +411,7 @@ lws_spawn_piped(const struct lws_spawn_piped_info *i) if (lws_change_pollfd(lsp->stdwsi[LWS_STDERR], LWS_POLLOUT, LWS_POLLIN)) goto bail3; - lwsl_notice("%s: fds in %d, out %d, err %d\n", __func__, + lwsl_info("%s: fds in %d, out %d, err %d\n", __func__, lsp->stdwsi[LWS_STDIN]->desc.sockfd, lsp->stdwsi[LWS_STDOUT]->desc.sockfd, lsp->stdwsi[LWS_STDERR]->desc.sockfd); diff --git a/lib/roles/cgi/cgi-server.c b/lib/roles/cgi/cgi-server.c index e0dd7fd64..f37a2b4b7 100644 --- a/lib/roles/cgi/cgi-server.c +++ b/lib/roles/cgi/cgi-server.c @@ -75,7 +75,7 @@ lws_cgi_grace(lws_sorted_usec_list_t *sul) /* act on the reap cb from earlier */ - lwsl_notice("%s: wsi %p\n", __func__, cgi->wsi); + lwsl_info("%s: wsi %p\n", __func__, cgi->wsi); if (!cgi->wsi->http.cgi->post_in_expected) cgi->wsi->http.cgi->cgi_transaction_over = 1; @@ -94,7 +94,7 @@ lws_cgi_reap_cb(void *opaque, lws_usec_t *accounting, siginfo_t *si, * The cgi has come to an end, by itself or with a signal... */ - lwsl_notice("%s: wsi %p post_in_expected %d\n", __func__, wsi, + lwsl_info("%s: wsi %p post_in_expected %d\n", __func__, wsi, (int)wsi->http.cgi->post_in_expected); /* @@ -868,7 +868,7 @@ agin: if (!wsi->mux_substream && m) { uint8_t term[LWS_PRE + 6]; - lwsl_notice("%s: sent trailer\n", __func__); + lwsl_info("%s: sent trailer\n", __func__); memcpy(term + LWS_PRE, (uint8_t *)"0\x0d\x0a\x0d\x0a", 5); if (lws_write(wsi, term + LWS_PRE, 5, diff --git a/lib/secure-streams/protocols/ss-h1.c b/lib/secure-streams/protocols/ss-h1.c index 9c7305f0b..50b00efd6 100644 --- a/lib/secure-streams/protocols/ss-h1.c +++ b/lib/secure-streams/protocols/ss-h1.c @@ -235,7 +235,7 @@ secstream_h1(struct lws *wsi, enum lws_callback_reasons reason, void *user, break; h->wsi = NULL; - lwsl_notice("a4\n"); + lwsl_debug("a4\n"); if (lws_ss_backoff(h)) /* was destroyed */ return -1;