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

Publish BF logs only if data extracted from them #530

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

BrianJKoopman
Copy link
Member

@BrianJKoopman BrianJKoopman commented Sep 22, 2023

Description

This updates the BF agent to only publish to the feed if any actual data has been pulled from the logs.

Motivation and Context

This should prevent the agent from trying to publish blank lines from the logs, which cause the crash detailed in #515.

Fixes #515.

How Has This Been Tested?

Tested by running the agent locally and writing example logs based on the example that causes the failure in #515. Agent remained online during testing.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@BrianJKoopman BrianJKoopman force-pushed the koopman/bluefors-status-dropouts branch from 9060788 to 5d2b516 Compare August 14, 2024 19:53
@BrianJKoopman BrianJKoopman marked this pull request as ready for review August 14, 2024 19:54
@BrianJKoopman BrianJKoopman merged commit d8b902e into main Aug 14, 2024
6 checks passed
@BrianJKoopman BrianJKoopman deleted the koopman/bluefors-status-dropouts branch August 14, 2024 20:17
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.

Dropouts in Bluefors status logs cause agent crash
1 participant