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

5 months ago

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

15 Replies

5 months ago

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


5 months ago

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


ralyodio
HOBBYOP

5 months ago

no i mean live http logs. they are in docker


ralyodio
HOBBYOP

5 months ago

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


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

5 months ago

why deployment logs? what is that?


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

1422922384372924400


ralyodio
HOBBYOP

5 months ago

ahh ok


ralyodio
HOBBYOP

5 months ago

what does railway logs default to?


5 months ago

deployment logs (server side logs) i.e.

1422923251952259000


5 months ago

Which can also be found in the dashboard

1422923389261316400


ralyodio
HOBBYOP

5 months ago

my deploys just timeout here:

exporting to docker image format


ralyodio
HOBBYOP

5 months ago

any idea why?


5 months ago

Please make a new thread


ralyodio
HOBBYOP

5 months ago

Why it’s the same issue


Loading...