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
320 stars 105 forks source link

Default log levels on some CLI commands #1354

Open macarronesc opened 6 months ago

macarronesc commented 6 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 6 months ago

Probably to have full verbosity by default

macarronesc commented 6 months ago

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