Change noisy directIngestWindowsUpdateHistory log from warn to debug (#15772)

#14939

- [X] Manual QA for all new/changed functionality.
This commit is contained in:
Lucas Manuel Rodriguez 2023-12-22 14:44:36 -03:00 committed by GitHub
parent 4d11235833
commit f3aab18873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1122,7 +1122,9 @@ func directIngestWindowsUpdateHistory(
for _, row := range rows {
u, err := fleet.NewWindowsUpdate(row["title"], row["date"])
if err != nil {
level.Warn(logger).Log("op", "directIngestWindowsUpdateHistory", "skipped", err)
// If the update failed to parse then we log a debug error and ignore it.
// E.g. we've seen KB updates with titles like "Logitech - Image - 1.4.40.0".
level.Debug(logger).Log("op", "directIngestWindowsUpdateHistory", "skipped", err)
continue
}