You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As in title. This makes alerting configuration based on log severity problematic because everything printed by loki itself seems to be an error. Most logging aggregation tools and platforms treat stderr output as level=error.
I'm not sure how one would fix this. Just changing the code to log.NewLogfmtLogger(log.NewSyncWriter(os.Stdout)) is wrong either, cause everything above "WARN" should be printed to stderr furthermore.
Describe the bug
As in title. This makes alerting configuration based on log severity problematic because everything printed by loki itself seems to be an error. Most logging aggregation tools and platforms treat stderr output as level=error.
For example:
^^^ not an error but it's logged to stderr.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Informational logs are printed to stdout, and only errors are printed to stderr.
Environment:
The text was updated successfully, but these errors were encountered: