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

remove fields from trace logging #251

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

oliveromahony
Copy link
Contributor

Proposed changes

Remove information from trace logging level for configuration push

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md)

@github-actions github-actions bot added chore Pull requests for routine tasks dependencies labels Mar 13, 2023
"config_data": config.ConfigData,
"action": config.Action,
}).Trace("Writing config")
defer jsonLogger.Writer().Close()
Copy link
Contributor

@Dean-Coakley Dean-Coakley Mar 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's slightly preferred to close the writer as soon as possible(Optional)

Suggested change
defer jsonLogger.Writer().Close()
jsonLogger.Writer().Close()

@oliveromahony oliveromahony merged commit 2fe7ce2 into release-2.23.3 Mar 14, 2023
@oliveromahony oliveromahony deleted the remove-fields-from-logs branch March 14, 2023 10:44
@dareste dareste mentioned this pull request Mar 14, 2023
4 tasks
oliveromahony added a commit that referenced this pull request Mar 14, 2023
* remove fields from trace logging (#251)

---------

Co-authored-by: Oliver O'Mahony <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants