Docker logs show up in red
itzbhushan
HOBBYOP

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

Solved

3 Replies

Railway
BOT

a year 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

a year ago

P.S: These are deploy logs.


sarahkb125
EMPLOYEE

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...