Skip to content

c2w-net: move some logs to debug level#399

Merged
ktock merged 1 commit intomainfrom
fixloglevel
Feb 13, 2025
Merged

c2w-net: move some logs to debug level#399
ktock merged 1 commit intomainfrom
fixloglevel

Conversation

@ktock
Copy link
Collaborator

@ktock ktock commented Feb 12, 2025

Currently we get too verbose logs during initialization loop of c2w-net.

$ c2w-net --invoke -p localhost:8000:80 /tmp/out/httpd.wasm --net=socket
connecting to NW...
failed connecting to NW: dial tcp 127.0.0.1:1234: connect: connection refused
connecting to NW...
failed connecting to NW: dial tcp 127.0.0.1:1234: connect: connection refused
connecting to NW...
failed connecting to NW: dial tcp 127.0.0.1:1234: connect: connection refused
connecting to NW...
failed connecting to NW: dial tcp 127.0.0.1:1234: connect: connection refused
connecting to NW...

So this PR moves some logs to debug level and improves the log message:

$ c2w-net --invoke -p localhost:8000:80 /tmp/out/httpd.wasm --net=socket
waiting for NW initialization

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
@ktock ktock merged commit 4ae31f5 into main Feb 13, 2025
14 checks passed
@ktock ktock deleted the fixloglevel branch February 13, 2025 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant