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

Update logger level and flush_on values #142

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Aug 28, 2024

🦟 Bug fix

Summary

The logger level change is needed because the file sink's level is trace and apparently spdlog will use the lower severity level of the logger and the sink.

The flush_on change is needed to cause spdlog to write to file more frequently.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

The logger level change is needed because the file sink's level is
`trace` and apparently `spdlog` will use the lower severity level of the logger and the sink.

The `flush_on` change is needed to cause spdlog to write to file more
frequently.

Signed-off-by: Addisu Z. Taddese <[email protected]>
@caguero caguero merged commit 2b53ca8 into gazebosim:gz-utils3 Aug 28, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants