How do I tail logs in a docker container using railway cli?
ralyodio
PROOP

a year ago

i'm only getting deploy logs when I do railway logs

Closed

15 Replies

a year ago

Aren't deploy logs the same thing as the Docker logs?


a year ago

Are you referring to build logs? Or http logs? You can use railway logs --build to access build logs


ralyodio
PROOP

a year ago

no i mean live http logs. they are in docker


ralyodio
PROOP

a year ago

my app is crashing. i need to see server side logs


a year ago

Unfortunately the CLI doesn't provide access to the HTTP logs, you would need to view that in the dashboard.

But if your app is crashing you would want the deployment logs.


ralyodio
PROOP

a year ago

why deployment logs? what is that?


a year ago

those are the logs generated by your app running within the container, so it should be the server-side logs you want.

The HTTP logs are proxy-level logs that looks like this

1422922384372924477


ralyodio
PROOP

a year ago

ahh ok


ralyodio
PROOP

a year ago

what does railway logs default to?


a year ago

deployment logs (server side logs) i.e.

1422923251952259123


a year ago

Which can also be found in the dashboard

1422923389261316239


ralyodio
PROOP

a year ago

my deploys just timeout here:

exporting to docker image format


ralyodio
PROOP

a year ago

any idea why?


a year ago

Please make a new thread


ralyodio
PROOP

a year ago

Why it’s the same issue


Welcome!

Sign in to your Railway account to join the conversation.

Loading...