-
-
Notifications
You must be signed in to change notification settings - Fork 624
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
Make silent flag also hide "is up to date" logs #546
Comments
this could be a UI feature of V4. Making the UI less static/append-only could really improve things. Though, @ProfessorManhattan are you interested in seeing/parsing the result? or just the spam of watching things run? Because I was also thinking of a "reporting" framework, so you could get the output of a task run in a machine readable format, like JSON. |
To be honest I am not sure if we need a option to hide it. Instead we can only display it when verbosity level is increased via |
Would it make sense to use the existing silent mode flag? I ran in to this when I needed a task to only output the value i explicitly echo'ed as I needed another process to use the output. And setting So, for my need it would be perfect if |
@danquah I think that's a good idea, indeed. I would be happy to accept a PR for that. |
A better option would be use of stderr for operator only messaging, and stdout for machine messaging |
@ghostsquad as far as I can tell we already log to stderr in this case. I guess I could have solved my particular issue by just directing stderr away. I do really like to have the option of turning the verbosity down via the |
I agree, options are usually beneficial. Though they can also produce a lot of sprawl in the code base. |
100% In this case it my main gripe is that the use of |
For every task, I list the dependencies like this:
With the new
run: once
option it is working absolutely fantastic (thank you Task developers). However, since I include the deps on each task, I get a lot of spam from "is up to date" and the information is not that useful. Is there a way of silencing the tasks without silencing any of the other logs?The text was updated successfully, but these errors were encountered: