Related Logs

4 years ago

When searching for a log, allow users to navigate to the surrounding loglines easily

In an ideal world, we'd want to allow you to do something like:

  • emit to console.log for simplicity initially
  • setup Railway's logging endpoint with your structured logger of choice (logrus, zap, etc)
  • Consume the structured logs instead of console.log, to allow you to seamlessly "upgrade" your logging experience
Completed

1 Replies

Anonymous

4 years ago

This would make debugging 1000x easier

sometimes you'll have a log like "FAILED TO DO X"

Then followup log: "Details: ...."

And right now without that second line, finding the first is useless


2 years ago

This has been available for quite some time, so I'm closing this thread.

In summary, you can now:

  1. Click the log timestamp to "view in context" (or expand the log and click deployment/replica/service to view in the context of one of those)
  2. Page up and down using the pagination buttons

Status changed to Completed gschier about 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...