access to log files

sinscrit
PRO

a year ago

I am unsure as how to get access to my application log files.

I tried installing railway CLI, but itself is a headscratcher: following the official documenation leads to an installation that has been deprecated. Itself points to the same documention: https://prnt.sc/8gnl1M14yWwE

So I am back to square 1. How do I access log files?

Solved

4 Replies

a year ago

Open your service, open the green deployment, click Deploy.

If nothing or not everything is there, make sure your app is logging unbuffered to stdout / stderr.


sinscrit
PRO

a year ago

Hi, just to be sure… I am not referring to deployment log files, but the log files generated by the app itself…


a year ago

You would want to log them to stdout / stderr so they are viewable in the deploy logs.


We don't allow you to SSH into the running deploy to access log files, you will need to emit to stdout to see your logs within Railway.


Status changed to Solved Railway over 1 year ago


access to log files - Railway Help Station