Hi,
our kube system image-package-extractor containers are logging to stderr on startup. While most of the logging is JSON and picked up with the correct severity (info), for some reason about 10 lines of various build info like
Build tool: Blaze, release blaze-2024.10.20-2 (mainline @687695475)
are not in JSON format and thus end up as error severity in the stackdriver logs.
Have anyone been able to turn off this log pollution?
Hi @skjolber,
Unfortunately, you cannot disable or stop it from generating logs because it’s a Google-managed system component inside GKE. However, what you can do is to Filter non-structured logs or Exclude Logs.
Here’s the sample query
resource.type="k8s_container"
resource.labels.namespace_name="kube-system"
resource.labels.container_name="image-package-extractor
severity=ERROR
"Build tool:"
Hi,
thanks for the response, I guess then reporting a bug is the best approach 