Skip to content

Fix logging in GKE #916

@czunker

Description

@czunker

Describe the bug
Both INFO and ERROR messages are recognized as errors inside Google Log Explorer. That makes it hard to filter these logs.

To Reproduce
Steps to reproduce the behavior:

  1. Run mondoo-operator inside GKE
  2. Explore the logs
  3. Note the error for INFO messages

Expected behavior
The log level should be recognized by Google Log Explorer

Screenshots or CLI Output
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions