Skip to content

Commit bc69b6b

Browse files
committed
he-reduce-logs
1 parent 26a971c commit bc69b6b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/core-net/client/connect3.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ lws_client_happy_eyeballs_cb(lws_sorted_usec_list_t *sul)
6969
struct lws *wsi = lws_container_of(sul, struct lws,
7070
sul_happy_eyeballs);
7171

72-
lwsl_wsi_notice(wsi, "happy eyeballs timer fired, initiating parallel connect");
72+
lwsl_wsi_info(wsi, "happy eyeballs timer fired, initiating parallel connect");
7373
lws_client_connect_3_connect(wsi, NULL, NULL, 0, NULL);
7474
}
7575

@@ -641,7 +641,7 @@ lws_client_connect_3_connect(struct lws *wsi, const char *ads,
641641
lws_snprintf(dcce, sizeof(dcce), "conn fail: %s",
642642
lws_errno_describe(real_errno, t16, sizeof(t16)));
643643
cce = dcce;
644-
lwsl_wsi_notice(wsi, "%s", dcce);
644+
lwsl_wsi_debug(wsi, "%s", dcce);
645645
lws_metrics_caliper_report(wsi->cal_conn, METRES_NOGO);
646646

647647
if (pidx != -1) {
@@ -1101,7 +1101,7 @@ lws_client_connect_3_connect(struct lws *wsi, const char *ads,
11011101
char buf[64];
11021102

11031103
lws_sa46_write_numeric_address((lws_sockaddr46 *)psa, buf, sizeof(buf));
1104-
lwsl_wsi_notice(wsi, "trying %s:%u%s", buf, port,
1104+
lwsl_wsi_info(wsi, "trying %s:%u%s", buf, port,
11051105
is_parallel ? " (parallel racer)" : "");
11061106
}
11071107

@@ -1436,7 +1436,7 @@ lws_client_connect_3_connect(struct lws *wsi, const char *ads,
14361436
wsi->a.protocol->callback(wsi, LWS_CALLBACK_WSI_CREATE,
14371437
wsi->user_space, NULL, 0);
14381438

1439-
lwsl_wsi_notice(wsi, "going into connect_4");
1439+
lwsl_wsi_debug(wsi, "going into connect_4");
14401440

14411441
return lws_client_connect_4_established(wsi, NULL, plen);
14421442

@@ -1542,7 +1542,7 @@ lws_client_connect_3_connect(struct lws *wsi, const char *ads,
15421542
}
15431543
if (any_valid) {
15441544
/* some connection is still running */
1545-
lwsl_wsi_notice(wsi, "attempt failed, others still running");
1545+
lwsl_wsi_info(wsi, "attempt failed, others still running");
15461546
return wsi;
15471547
}
15481548
}

lib/core-net/close.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ __lws_close_free_wsi(struct lws *wsi, enum lws_close_status reason,
818818
!wsi->close_is_redirect) {
819819
static const char _reason[] = "closed before established";
820820

821-
lwsl_wsi_notice(wsi, "closing in unestablished state 0x%x "
821+
lwsl_wsi_debug(wsi, "closing in unestablished state 0x%x "
822822
"(fd %d, parallels %d, redirect %d)",
823823
lwsi_state(wsi),
824824
(int)wsi->desc.sockfd, wsi->parallel_count,

0 commit comments

Comments
 (0)