Skip to content

[tontester] Set default log verbosity level to INFO#2153

Draft
DanShaders wants to merge 4 commits intoton-blockchain:testnetfrom
DanShaders:verbosity-info-in-tontester
Draft

[tontester] Set default log verbosity level to INFO#2153
DanShaders wants to merge 4 commits intoton-blockchain:testnetfrom
DanShaders:verbosity-info-in-tontester

Conversation

@DanShaders
Copy link
Collaborator

No description provided.

@github-actions
Copy link

test/tontester/src/tonlib/tonlib_cdll.py:105

Hard-coded self.client_set_verbosity_level(3) sets a global TonLib verbosity with no way to override per caller. This can inadvertently raise log level for components that expect verbosity_level=0 (e.g., TonlibClient in tonlibjson.py defaults to 0) until they explicitly reset it. Consider threading a verbosity_level parameter into TonlibCDLL (defaulting to INFO) or set it at a higher-level config so callers can opt out.

@DanShaders DanShaders marked this pull request as draft February 24, 2026 00:46
Doing so also highlighted a lot of exception safety problems which I
tried to fix as well.
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