#666·watermill

Logger severity setup not compatible with GCP logger

Author: mdmouraoCreated Jan 27, 2026Updated Jan 27, 2026
Labelsbug

Steps to reproduce

Image

Expected behavior

textPayload="[watermill] 2026/01/27 11:10:38.827004 connection.go:70: \tlevel=INFO msg="Closed AMQP Pub/Sub" "

Image

I would expect to be severity INFO and not ERROR

Actual behavior

GCP marks as ERROR

Possible solution

All logs go to stderr - GCP Cloud Logging may classify all stderr output as ERROR level Use Structured JSON Logging or change to output to Stdout and stderr