Disable HTTP Logs for specific endpoint

It looks like the HTTP Logs provide a history of a set amount of logs (let's say 100). I set up a load balancer that checks the /health endpoing every 60 seconds, so I see all the GET requests from the load balancer in the HTTP Logs, and they take up the limited history available. I can filter the logs - @path:/health but that still only filters out of the available (for example again 100) logs. Is there a way to not log those HTTP requests at all?
Solution:
There is not, the HTTP logs are there to mainly debug connectivity between Railway and your app. You should do your own HTTP logs that you can corelate with Railway's HTTP logs....
Jump to solution
5 Replies
Percy
Percy2mo ago
Project ID: bffee644-ec55-4122-9e19-fee98c401647
Alexandru
AlexandruOP2mo ago
Project ID: bffee644-ec55-4122-9e19-fee98c401647
Solution
Brody
Brody2mo ago
There is not, the HTTP logs are there to mainly debug connectivity between Railway and your app. You should do your own HTTP logs that you can corelate with Railway's HTTP logs.
Alexandru
AlexandruOP2mo ago
Though we can't keep track of errors, like if our service doesn't answer because of a networking issue, can't log a request we don't get
Brody
Brody2mo ago
yes you can! thats the beauty of the request id returned by railway's 502 page!
Want results from more Discord servers?
Add your server