lithops-cloud / lithops

A multi-cloud framework for big data analytics and embarrassingly parallel jobs, that provides an universal API for building parallel applications in the cloud ☁️🚀
http://lithops.cloud
Apache License 2.0
315 stars 103 forks source link

Default log levels on some CLI commands #1354

Open macarronesc opened 3 months ago

macarronesc commented 3 months ago

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

https://github.com/lithops-cloud/lithops/blob/436f458e0d862ca1aff35886eb03d5e2143896c9/lithops/scripts/cli.py#L468-L471

https://github.com/lithops-cloud/lithops/blob/436f458e0d862ca1aff35886eb03d5e2143896c9/lithops/scripts/cli.py#L499-L501

JosepSampe commented 3 months ago

Probably to have full verbosity by default

macarronesc commented 3 months ago

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