Get ALL logs Postgres deployment
shivamagarwal2000
PROOP

a year ago

Is it possible to get ALL logs for a postgres deployment including the success logs? Only able to view the error logs in Railway UI right now.

This is quite urgent, we are investigating an onging situation.

Solved

16 Replies

shivamagarwal2000
PROOP

a year ago

d521a197-8550-493f-a637-5f38e30950ec


a year ago

closest would be


a year ago

or ctrl+k (on deployment logs) and download logs from there (although this is a bit buggy from what I know)


a year ago

it doesn't download 100% of the logs though, a few thousand lines iirc


a year ago

also odds are if you can't view debug logs on the dashboard then these tools wouldn't be able to view them either, but idk


What’s the situation?


shivamagarwal2000
PROOP

a year ago

I'm only able to download Build Logs this way, not Deploy Logs. We need Deploy logs to asses the situation


shivamagarwal2000
PROOP

a year ago

It seems like someone was able to access the database unauthorized, I need the logs to understand the extent of the breach. The default log explorer on railway is only showing error logs, I'm not able to find any other logs


That can’t happen unless you changed the default password


What are the added/removed records?


shivamagarwal2000
PROOP

a year ago

what do you mean added/removed records?


shivamagarwal2000
PROOP

a year ago

it seems like by default postgres deployments on railway only log errors. Really hoping there's a way to get all deploy logs somehow


We don’t keep access logs


You would need to set that up in advance


a year ago

confirming this ^

by default, postgres does not log anything other than its basic operational logs, they would not include what you are looking for.

you would have needed to configure postgres to log what you needed in advance.

we do not have any other postgres logs than what is displayed in the deploy logs.

marking this as solved now because theres unfortunately nothing we can offer you that you don't already have access to.


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...