No deployment logs
maxbuyogo
FREEOP

2 years ago

No deployment logs. All output sent to stdout will be displayed here

my logs are not coming from a spring boot app. any suggestions?

35 Replies

maxbuyogo
FREEOP

2 years ago

0b97a174-a572-4b03-887b-98a62c42f368


2 years ago

Does this persist even after redeploying?


maxbuyogo
FREEOP

2 years ago

yes


maxbuyogo
FREEOP

2 years ago

we have the problems since days


maxbuyogo
FREEOP

2 years ago

we log a lot


2 years ago

there is a ratelimit in logs, perhaps you're exceeding the rate limit


maxbuyogo
FREEOP

2 years ago

where can i find it?


2 years ago

I'm not sure what the rate limit exactly is 🤔


maxbuyogo
FREEOP

2 years ago

there is actually nothing written about limit, just about 30 day history


2 years ago

Nevermind, I swear I remember one of the conductors mention a log rate limit, but I can't seem to find anything like that


maxbuyogo
FREEOP

2 years ago

yes i have the same problem, if i hit the limit, it would be nice if i would get nottified about it


2 years ago

I have brought this up to the team, there is definitely a limit and the limit should be listed in the technical specifications section of the docs, but it's not right now.

however, you would still see some logs, it's just that the logs that go over the threshold are discarded, it's also a very reasonable limit, so I'm confident in saying that you are not running into any logging limits.

what I do think is happening is that some of the logging infrastructure was shut down yesterday during the incident and unfortunately yours never got reconnected.


2 years ago

Thank goodness, thought I was schizo or something


2 years ago

<@1060856209332260864> - missing all deployment logs


2 years ago

Looking


2 years ago

<@778644535948869724> can you link to your service please?

That's not a valid project ID


maxbuyogo
FREEOP

2 years ago

deployment id


maxbuyogo
FREEOP

2 years ago

7e6d9a13-b546-4b51-a2bb-12af6682a7d5


maxbuyogo
FREEOP

2 years ago

this is the service


maxbuyogo
FREEOP

2 years ago

sorry


2 years ago

open your service and then copy the url, paste it here


2 years ago

ray works for railway and is the only one who would be able to look at the project



maxbuyogo
FREEOP

2 years ago

7e6d9a13-b546-4b51-a2bb-12af6682a7d5
this is the service id i think


maxbuyogo
FREEOP

2 years ago

the linked was the deployment id


2 years ago

all good


2 years ago

This is the testing env right? You have a deployment from 2hrs ago and the logs appear to be fine


2 years ago

Is it just a single inactive deployment missing logs?


maxbuyogo
FREEOP

2 years ago

it is on dev and prod


maxbuyogo
FREEOP

2 years ago

sometimes they are there, and then they hide again


vacostin
HOBBY

2 years ago

any updates on logging limit?


2 years ago

there's nothing in the docs yet, and tbh I've found that most people would never hit the log per second limit unless they where absolutely spamming console.log, exactly what the limit is there to prevent, from my experience, it's a very sensible limit.
but limits should of course always be documented, so I will bump this to the right person!


vacostin
HOBBY

2 years ago

So I reckon streaming to a .log file is the way to go if I were to stress test?


vacostin
HOBBY

2 years ago

Or is also writing to a stream restricted? Dk how this limits work or apply, didnt test yet


2 years ago

you could stream as fast as you want to a file, but that wouldn't cause logs to show on the deployment logs.

the limit is simply just how many log lines per second railways logging infrastructure will process before it drops log lines, and for railway to even parse logs you need to log unbuffered to stdout / stderr.


Loading...