Skip to content

Commit 6c62831

Browse files
chore: change logging levels
1 parent 25bc7b1 commit 6c62831

File tree

2 files changed

+3
-3
lines changed
  • components
    • esp32-javascript/modules/esp32-javascript
    • socket-events/modules/socket-events

2 files changed

+3
-3
lines changed

components/esp32-javascript/modules/esp32-javascript/boot.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function connectToWifi() {
127127
let retries = 0;
128128
wifi.connectWifi(config.wifi.ssid, config.wifi.password, function (evt, ip) {
129129
if (evt.status === 0) {
130-
console.info("WIFI: DISCONNECTED");
130+
console.debug("WIFI: DISCONNECTED");
131131
if (!configServerStarted) {
132132
retries++;
133133
}
@@ -191,7 +191,7 @@ function connectToWifi() {
191191
}
192192
}
193193
} else if (evt.status === 2) {
194-
console.info("WIFI: CONNECTING...");
194+
console.debug("WIFI: CONNECTING...");
195195
}
196196
});
197197
}

components/socket-events/modules/socket-events/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class Socket implements Esp32JsSocket {
118118
this.clearReadTimeoutTimer();
119119
if (this.readTimeout > 0) {
120120
this.readTimeoutHandle = setTimeout(() => {
121-
console.log("Close socket because of read timeout.");
121+
console.debug("Close socket because of read timeout.");
122122
closeSocket(this);
123123
}, this.readTimeout);
124124
}

0 commit comments

Comments
 (0)