Logging

Logs for services deployed to Railway are available to diagnose issues or track performance.

How it Works

Any build or deployment logs emitted to standard output or standard error ( eg. console.log(...)) are captured by Railway to be viewed or searched later.

Log Retention

Depending on your plan, logs are retained for a certain amount of time.

PlanRetention*
Hobby / Trial7 days
Pro30 days
EnterpriseUp to 90 days

* Upgrading plans will immediately restore logs that were previously outside of the retention period.

Viewing Logs

For information on how to view logs, head over to the guide for using logs.


Edit this file on GitHub