Skip to content

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

Merged
ktock merged 1 commit into
mainfrom
fixloglevel
Feb 13, 2025
Merged

ktock merged 1 commit into
mainfrom
fixloglevel

Conversation

@ktock

@ktock ktock commented Feb 12, 2025 •

Copy link
Copy Markdown
Collaborator

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

@ktock
ktock merged commit 4ae31f5 into main Feb 13, 2025
@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