not able to view logs 2
guymalka
HOBBYOP

a month ago

created new thread since previous thread marked as solve and its not solved
here is the thread https://station.railway.com/questions/unable-to-view-code-logs-5c64c311
i have hobby plan

created a spring boot application that works using docker compose on my computer

im testing spacific endpoint , and get exception
after adding logs to the code , im not able to see the logs i have added .
for example

log.info("GET /api/symbol/");
or using System.out.format(template + "%n", args); 

deploy logs display logs that i didnt wrote
what am i missing ?
is there hidden window to view logs ? or should i write logs to a file ?

here the relevant variables

where are thie logs from stdout
here are the types of logs that i can use

Solved$10 Bounty

Pinned Solution

I'd make sure your logging level is set to info or lower. I'd also make sure your log methods aren't logging to a file or the buffer, but instead, logging to the console.

You should also test this in a local environment.

1 Replies

Status changed to Open Railway about 1 month ago


I'd make sure your logging level is set to info or lower. I'd also make sure your log methods aren't logging to a file or the buffer, but instead, logging to the console.

You should also test this in a local environment.


Status changed to Solved 0x5b62656e5d 26 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...