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

cli: per-package log level #2564

Open
samlaf opened this issue Oct 10, 2024 · 1 comment
Open

cli: per-package log level #2564

samlaf opened this issue Oct 10, 2024 · 1 comment
Labels
cli For bugs relating to the CLI feature request nice to have Nice to have feature

Comments

@samlaf
Copy link

samlaf commented Oct 10, 2024

Background & motivation

Working on building https://github.com/Layr-Labs/eigenda-package, which uses https://github.com/ethpandaops/ethereum-package as a subpackage. When deploying, the ethereum-package has a lot of very verbose log lines, which clutter the space and make it hard to focus on the log lines of my package. This makes for a harder debugging devex.

Would be useful if when deploying another package, I could define the log-level. For example, right now I run

l1 = ethereum_package.run(plan, ethereum_args)

Desired behaviour

would be useful if I could run

l1 = ethereum_package.run(plan, ethereum_args, log_level=panic)

as an example, to remove the info log lines from the CLI output

How important is this to you?

Nice to have; this feature would make using Kurtosis more enjoyable.

What area of the product does this pertain to?

CLI: the Command Line Interface

@github-actions github-actions bot added cli For bugs relating to the CLI nice to have Nice to have feature labels Oct 10, 2024
@tedim52
Copy link
Contributor

tedim52 commented Nov 12, 2024

Hey @samlaf ! This makes sense. One workaround for shortening CLI output right now is to toggle the verbosity using --verbosity flag on kurtosis run of StarlarkPackage output via the CLI but ofc that would also affect output coming out of your package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli For bugs relating to the CLI feature request nice to have Nice to have feature
Projects
None yet
Development

No branches or pull requests

2 participants