Downloading logs
giles-spacebands
PROOP

a month ago

Dear Railway,

I need to download the deployment logs between two dates. I can filter logs between two dates in your log explorer but when I try to "Download logs as..." the output is a tiny fraction of what exists between those dates, limited to what is shown on the screen.

In desperation I searched your community hub and found this:

https://station.railway.com/questions/how-to-download-deploy-logs-or-logs-in-g-bdfaf2f8

This suggests that an option to download logs exists when highlighting the deployment, pressing Ctrl-K, and choosing "Download Deployment Logs". Frustratingly this option does not currently exist.

Please help.

Kind regards,

Giles Burdett

$20 Bounty

1 Replies

Railway
BOT

a month ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway about 1 month ago


douefranck
FREE

a month ago

hey, here's what actually works to get logs between two dates

use the railway cli , run railway logs in your terminal. you can pipe this to a file to save it https://docs.railway.com/guides/logs

if you need to download massive logs between specific dates, use this tool made by a railway engineer: https://github.com/brody192/railway-log-downloader , it can download all logs for a deployment or service using your railway api token

doue


Loading...