Docker logs show up in red
itzbhushan
HOBBYOP

5 months 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

Solved

3 Replies

Railway
BOT

5 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


itzbhushan
HOBBYOP

5 months ago

P.S: These are deploy logs.


sarahkb125
EMPLOYEE

5 months 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 5 months ago


Status changed to Solved sarahkb125 5 months ago


Loading...