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

Default log levels on some CLI commands #1354

Open
macarronesc opened this issue May 23, 2024 · 2 comments
Open

Default log levels on some CLI commands #1354

macarronesc opened this issue May 23, 2024 · 2 comments

Comments

@macarronesc
Copy link
Contributor

Why does Lithops always use the DEBUG level in these CLI commands and not the log level the user wants?

def build(ctx, name, file, config, backend, debug):
""" build a serverless runtime. """
# log_level = logging.INFO if not debug else logging.DEBUG
setup_lithops_logger(logging.DEBUG)

def deploy(name, storage, backend, memory, timeout, config, debug):
""" deploy a serverless runtime """
setup_lithops_logger(logging.DEBUG)

@JosepSampe
Copy link
Member

Probably to have full verbosity by default

@macarronesc
Copy link
Contributor Author

I think that the ideal would be to maintain the user's LOG_LEVEL

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

No branches or pull requests

2 participants