R
Railway14mo ago
Firefox

Many print statements are missing from logs?

Hello! I have been using railway for a couple months now I have my program sysout a couple thousand debug statements a day. The problem is recently, all of the statements no longer appear in the log explorer, and the previous state were removed from my eariler deploys. Does anyone know why this would happen? The debug statements are very helpful for analytic purposes. The weird thing that my other print statement not related to debug stiull go through
6 Replies
Percy
Percy14mo ago
Project ID: bbc4666a-76fd-47ea-ae8b-19a92c971e63
Firefox
Firefox14mo ago
bbc4666a-76fd-47ea-ae8b-19a92c971e63
Brody
Brody14mo ago
make sure you are printing to stdout/stderr and are not buffering your logs in anyway
Firefox
Firefox14mo ago
I've tried both stdout and stderr, and neither seem to work. What do you mean by buffering my logs? Like I'm storing it memory?
Brody
Brody14mo ago
i recommend doing research on buffered logs for whatever logger you are using, and how to disable them
Firefox
Firefox14mo ago
I will try that, thanks
Want results from more Discord servers?
Add your server