a year ago
Hello!
My docker application logs show up in red even though they are marked as info. It happens in both staging and prod environments. Attached screenshot.
How do I fix it?
Attachments
3 Replies
a year ago
Hey there! We've found the following might help you get unblocked faster:
- ๐ Viewing Logs
- ๐งต How to best Log in Railway (Winston? etc...)
- ๐งต Dockerized Go Server Returning 502
If you find the answer from one of these, please let us know by solving the thread!
a year ago
P.S: These are deploy logs.
a year ago
Hi there,
The issue likely arises from logs being emitted to stderr instead of stdout. Logs sent to stderr are colored red, misrepresenting the log level.
You should check where logs are directed in the application and adjust them to ensure info logs are sent to stdout.
Best,
The Railway Team
Status changed to Awaiting User Response Railway โข 12 months ago
Status changed to Solved sarahkb125 โข 12 months ago