Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --verbosity=trace level #230

Merged
merged 6 commits into from
Apr 17, 2024
Merged

Add --verbosity=trace level #230

merged 6 commits into from
Apr 17, 2024

Conversation

vasdommes
Copy link
Collaborator

Added extra verbosity level --verbosity=trace (or 3) to SDPB and other executables.
For --verbosity=debug, we print all extra info that does not mess up with iterations table - e.g. block mapping, memory estimates etc.
For --verbosity=trace, we print everything (e.g. start of each timer).

TODO: all output between iterations should be enabled only in trace mode
Allows to separate Verbosity::debug and Verbosity::trace

To keep the output table readable, for --verbosity=debug we do not print anything inside iterations, e.g. "start timer" messages. We print everything only for --verbosity=trace.
Now it's less verbose than trace, so the output still has reasonable size.
@vasdommes vasdommes added this to the 3.0.0 milestone Apr 17, 2024
@vasdommes vasdommes merged commit a2365f5 into master Apr 17, 2024
2 checks passed
@vasdommes vasdommes deleted the verbosity-trace branch April 17, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant