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

progress bars can be disabled #7732

Open
oliverdain opened this issue May 6, 2024 · 0 comments
Open

progress bars can be disabled #7732

oliverdain opened this issue May 6, 2024 · 0 comments

Comments

@oliverdain
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants