Skip to content

Decrease debugging output verbosity - #4

Open
ilario wants to merge 1 commit into
libremesh:masterfrom
ilario:rsdebuglevel0
Open

ilario wants to merge 1 commit into
libremesh:masterfrom
ilario:rsdebuglevel0

Conversation

@ilario

@ilario ilario commented Sep 23, 2026

Copy link
Copy Markdown
Member

Currently, shared-state-async is spamming the logs with debugging info, pushing useful information out of the limited logread buffer.

The debugging levels are inherited from libretroshare, see here: https://github.com/RetroShare/libretroshare/blob/master/src/util/rsdebug.h

Still to be tested. Please let me know if a higher verbosity is actually needed for some of the shared-state-async components.

@ilario

ilario commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

Tested in QEMU with a small mesh (following these instructions): it works, it decreases the spam.

Still, I get quite a lot of these error messages, which should be investigated. Are they actually errors or should also these be suppressed?

daemon.err shared-state-async[2789]: W 1790857059.466 std::task<long int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, const sockaddr_storage&, std::error_condition*) Discarding received known entry: LiMe-000003 authored by this node with higher TTL from remote peer: ipv6://[fe80::ff:fe00:1%25wlan0-mesh_17]:42262 is remote peer ill?

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