lakeFS icon indicating copy to clipboard operation
lakeFS copied to clipboard

progress bars can be disabled

Open oliverdain opened this issue 9 months ago • 0 comments

It would be nice to be able to disable the progress bars you see with lakectl local clone and other bulk operations.

Use case: I have some ML training jobs that run in a Kubernetes cluster. That cluster has logging set up so anything a container logs gets sent to an external logging service. Those services typically expect logs to be in a pretty simple format like 1 line per thing logged or in JSON format. However, the progress bars use special characters (e.g. \r) to update the cool little graphs and that confuses the heck out of the log parsers. It's still nice to have logs like downloaded some/file.txt but the progress bars are problematic. Ideally you'd detect that the lakectl stdout isn't a terminal and if that's the case convert the progress bar logs to "regular logs". If that's not possible a flag like --disable-progress would be great.

oliverdain avatar May 06 '24 18:05 oliverdain