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

feat(server): server logs to be structured and add more log error #2308 #9779

Merged
merged 18 commits into from
Oct 10, 2022

Conversation

VUHAILAM
Copy link
Contributor

@VUHAILAM VUHAILAM commented Oct 9, 2022

#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:

  • Create the PR as draft .
  • Run make pre-commit -B to fix codegen and lint problems.
  • Sign-off your commits (otherwise the DCO check will fail).
  • Use a conventional commit message (otherwise the commit message check will fail).
  • "Fixes #" is in both the PR title (for release notes) and this description (to automatically link and close the issue).
  • Add unit or e2e tests. Say how you tested your changes. If you changed the UI, attach screenshots.
  • Github checks are green.
  • Once required tests have passed, mark your PR "Ready for review".

If changes were requested, and you've made them, dismiss the review to get it reviewed again.

Signed-off-by: Lam Vu <lamvh2812@gmail.com>
Signed-off-by: Lam Vu <lvu@axon.com>
@VUHAILAM VUHAILAM force-pushed the feature/structure-log-server branch from 0a53895 to defc663 Compare October 9, 2022 17:12
Signed-off-by: Lam Vu <lvu@axon.com>
@VUHAILAM 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 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 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
Lam Vu added 4 commits October 10, 2022 02:07
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>
@VUHAILAM VUHAILAM marked this pull request as ready for review October 9, 2022 20:14
Copy link
Contributor

@alexec alexec left a 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).

VUHAILAM and others added 11 commits October 10, 2022 23:12
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>
Signed-off-by: Lam Vu <lvu@axon.com>
Signed-off-by: Lam Vu <lvu@axon.com>
Signed-off-by: Lam Vu <lvu@axon.com>
@VUHAILAM VUHAILAM requested a review from alexec October 10, 2022 16:46
@alexec alexec enabled auto-merge (squash) October 10, 2022 17:23
@alexec alexec merged commit 514aa05 into argoproj:master 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants