-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
feat(server): server logs to be structured and add more log error #2308 #9779
Merged
alexec
merged 18 commits into
argoproj:master
from
VUHAILAM:feature/structure-log-server
Oct 10, 2022
Merged
feat(server): server logs to be structured and add more log error #2308 #9779
alexec
merged 18 commits into
argoproj:master
from
VUHAILAM:feature/structure-log-server
Oct 10, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Lam Vu <lamvh2812@gmail.com> Signed-off-by: Lam Vu <lvu@axon.com>
VUHAILAM
force-pushed
the
feature/structure-log-server
branch
from
October 9, 2022 17:12
0a53895
to
defc663
Compare
Signed-off-by: Lam Vu <lvu@axon.com>
VUHAILAM
changed the title
feat(server): server logs to be structured and add more log error
feat(server): server logs to be structured and add more log error https://github.com/argoproj/argo-workflows/issues/2308
Oct 9, 2022
VUHAILAM
changed the title
feat(server): server logs to be structured and add more log error https://github.com/argoproj/argo-workflows/issues/2308
feat(server): server logs to be structured and add more log error
Oct 9, 2022
VUHAILAM
changed the title
feat(server): server logs to be structured and add more log error
feat(server): server logs to be structured and add more log error #2308
Oct 9, 2022
Signed-off-by: Lam Vu <lvu@axon.com>
Signed-off-by: Lam Vu <lvu@axon.com>
alexec
requested changes
Oct 10, 2022
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.
While most of the changes are good, I don't think we should log then return errors. This could result in double logging, or logging when we're not expecting it (e.g. in the cli).
server/clusterworkflowtemplate/cluster_workflow_template_server.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Lam Vu <lamvh2812@gmail.com> Signed-off-by: Lam Vu <lvu@axon.com>
Signed-off-by: Lam Vu <lvu@axon.com>
Signed-off-by: Lam Vu <lvu@axon.com>
Signed-off-by: Lam Vu <lvu@axon.com>
Signed-off-by: Lam Vu <lvu@axon.com>
…AILAM/argo-workflows into feature/structure-log-server
Signed-off-by: Lam Vu <lvu@axon.com>
alexec
approved these changes
Oct 10, 2022
juchaosong
pushed a commit
to juchaosong/argo-workflows
that referenced
this pull request
Nov 3, 2022
…oproj#2308 (argoproj#9779) Signed-off-by: Lam Vu <lamvh2812@gmail.com> Signed-off-by: Lam Vu <lvu@axon.com> Co-authored-by: Lam Vu <lvu@axon.com> Signed-off-by: juchao <juchao@coscene.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#2308
Signed-off-by: Lam Vu lamvh2812@gmail.com
Rewrite log into a structured form suggested in #2308
Add more error log for workflow server
Please do not open a pull request until you have checked ALL of these:
make pre-commit -B
to fix codegen and lint problems.If changes were requested, and you've made them, dismiss the review to get it reviewed again.