-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add --quiet
flag to daemon and coordinator
#548
Conversation
Suppresses all log messages to stdout.
The thing is within the unix philosophy the default should be quiet and not verbose.
Can we make the level filter to ERROR? |
I think that it is fine that the error message are filtered out, if we want to have it truly quiet. |
I don't think that we should follow UNIX philosophy. The daemon and coordinator are long-running, server-like programs, so nobody will use the output The default filter is I'm fine with adjusting the log output for the daemon in a follow-up PR. For example, I don't think that we need to print dataflow-related errors and warnings by default because they are already sent back to the CLI. But this is not related to this |
Note that a lot of UNIX commands implement a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok sure, you're right
So this merge make it that when we we use We need to somehow reply to |
So the error happens after the dataflow is considered as started an its UUID is returned? |
I opened #554 to make it easier to find out whether a dataflow failed. I don't think that we can return an error on a non-attaching |
Yeah we could make It's very frustrating to not have any info on errors |
So one error is that I had a python import issue, so at the very beginning of the script before node = Node() and nothing happened. |
I think we should add CI/CD test on graceful stop for pending nodes. |
One of the problem with this PR is that when an error happens but the dataflow does not immediately end nothing happens within the terminal which is also very confusing. If we're going #552, we need to make sure to print also errors that happens before the entire dataflow finishes. |
Good idea! I try to implement this. |
Suppresses all log messages to stdout.
I went with
--quiet
instead of changing the default and adding a--verbose
arg because this even suppresses error output.