Info logs are marked as errors logs in Go
raresailincai
PROOP

a year ago

I was using logrus.Infof in Go but the logs are marked as error in Railway

Solved

4 Replies

raresailincai
PROOP

a year ago

11327e40-aa30-4add-88cb-8dec677584b4


brody
EMPLOYEE

a year ago

they are marked as error since they are sent to stderr, instead, i recommend json logging so that once you set a level in a json log we will colour (or not colour) your log according to what level the json log is set to regardless if its sent to stderr or not


raresailincai
PROOP

a year ago

Thanks


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody about 1 year ago


Status changed to Solved brody about 1 year ago


Loading...