R
Railway•15mo ago
SHAKA PAKA

CLI logs

How to check logs for specific service?
16 Replies
Percy
Percy•15mo ago
Project ID: N/A
SHAKA PAKA
SHAKA PAKA•15mo ago
N/A
root
root•15mo ago
I'm not sure if that exact feature exists, but you can get the deployment ID and pass that to the --deployment option.
SHAKA PAKA
SHAKA PAKA•15mo ago
root
root•15mo ago
Try --deployment=b048db7
root
root•15mo ago
Make sure you're grabbing the deployment ID, not the commit or project ID, also
SHAKA PAKA
SHAKA PAKA•15mo ago
Brody
Brody•15mo ago
deployment is a boolean value, and irrelevant for this. railway logs should show the logs for the linked service, but it currently doesn't, i will report this @jr - railway logs not showing correct logs for linked service
jr
jr•15mo ago
Can you please share a link to the service you are trying to get logs for
Brody
Brody•15mo ago
lol me or them?
jr
jr•15mo ago
them Sorry I should have been more clear
Brody
Brody•15mo ago
no worries, I can reproduce this too if that's helpful? well they're using the cli wrong, but for what I tagged you for is the real issue
jr
jr•15mo ago
oh yeah, what are the steps
Brody
Brody•15mo ago
I have a project with two services, so I run railway link, railway service, and then railway logs, and the logs it prints are from the other service not the service I chose in railway service want the project id?
jr
jr•15mo ago
ah no that is okay. Seems to be a core issue with the CLI. Created an issue on that repo https://github.com/railwayapp/cli/issues/436 Will try to get to it this week Thanks for the ping though 😄
Want results from more Discord servers?
Add your server