R
Railway

✋|help

Many print statements are missing from logs?

Mmozilla_firefox9/16/2023
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
Mmozilla_firefox9/16/2023
bbc4666a-76fd-47ea-ae8b-19a92c971e63
Bbrody1929/16/2023
make sure you are printing to stdout/stderr and are not buffering your logs in anyway
Mmozilla_firefox9/16/2023
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?
Bbrody1929/16/2023
i recommend doing research on buffered logs for whatever logger you are using, and how to disable them
Mmozilla_firefox9/16/2023
I will try that, thanks

Looking for more? Join the community!

Recommended Posts
All cron jobs skippedProject ID: `f3ce15da-e811-4392-8e64-d21d3ca5660e` I have a project with a cron job that runs everyError deploy flaskHii, im having a problem with my project, can someone help me Project ID 0f9c813d-b8f5-4b7c-aa00-adHelp with webhooksRailway doesn't call my webhook, but i can manually call it through postmanDeleted MySQL DatabaseHow do I recover a deleted database without backup. projectId: e28cd36d-0d6f-4588-a03f-b54a6e97d1Connect to services using Private NetworksProject ID: 1790d4a8-0e32-4b4e-bf67-6ce23d7ae9e1 I'm trying to connect my main project (Node.js) toUpload FilesGood morning, I have 4 gigabytes of image files, my application is connected to Git, and I can't uplFiles on mounted volume not available after redeployI did a fresh deploy of @Brody 's Payload CMS template (https://github.com/brody192/payload-cms-tempCan't manually fill MySQLNone of the options i've tried works. I can still create dbs and populate them when connecting throuReferenced variables are emptyIf I hardcode the url in env variables, the deployment is successful, however using a reference to aSetup a monorepoHey guys, I'm using yarn workspaces and turborepo. I tried setting up the build command to "yarn turCan't start Remotion serverWhenever I try to use the Remotion server it cannot open the browser process and shows me this errorRecover a file inside a deploymentBy mistake I left a sqlite file inside a deployment and made a lot of updates to the database on thaDeployment Failed during build processI'm encountering issues while trying to build my Vue 3 and TypeScript project on Railway using NixpaBuild failing without errorMy build is failing to deploy without any error. Its just saying the container failed to start. The Cloudflare detected but not redirectingI've put the the right dns settings in cloudflare NS into godaddy. see screenshot which should poinFailed to authenticate to mongodbDeploying a MongoDB database from the UI, automatically creates a database named "test" if you conne