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

Verbose mode #141

Open
sassanh opened this issue Jun 10, 2024 · 1 comment
Open

Verbose mode #141

sassanh opened this issue Jun 10, 2024 · 1 comment

Comments

@sassanh
Copy link

sassanh commented Jun 10, 2024

When for whatever reason an error keeps occurring and needs some back and forth, it's a bit inconvenient to run the curl command, copy the log location, and tail it repeatedly. It would be nice if we had an environment variable to make the script print everything it writes in logs, directly to stdout.

Also when it is retrying to fetch a url, it may take a few minutes until the process finishes and prints the location of the log file, while if it printed the errors in stdout simultaneously (when the environment variable is set) one could immediately see it is a network error and act, saving time.

@ctcampbell
Copy link

Agreed, especially when using this script in a Docker build it's not super simple to grab the log file.

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