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

SM-1034: "WRN did not find pid match for data frame" logged to much #106

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

zakharenkodmytro
Copy link
Contributor

  • log "did not find pid match for data frame" only 2 times

Copy link

linear bot commented Jul 31, 2024

@zakharenkodmytro zakharenkodmytro marked this pull request as ready for review July 31, 2024 20:47
@@ -131,7 +131,8 @@ func (dpl *dbcPassiveLogger) StartScanning(ch chan<- models.SignalData) error {
}
ch <- s
} else {
dpl.logger.Warn().Msgf("did not find pid match for data frame: %s", printBytesAsHex(frame.Data))
msg := fmt.Sprintf("did not find pid match for data frame: %s", printBytesAsHex(frame.Data))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm unsure if we want to send WARN over MQTT, but we can reduce log noise.

@zakharenkodmytro zakharenkodmytro merged commit 945c9c7 into dev Aug 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant