#Can't get sysouts to print to terminal - Spring Boot

5 messages · Page 1 of 1 (latest)

versed stump
#

System.out.println("Started in Bootstrap"); doesn't print to console...even when adding logging.level.root=INFO etc in the application.properties file

I've also tried adding a RestController logger and that doesn't work either. Any help would be massively appreciated and I will happy share my code if that helps.

fallen gateBOT
#

This post has been reserved for your question.

Hey @versed stump! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

olive cradle
#

What do you mean a logger? System.out.println() is supposed to work as usual and spring boot isn't supposed to get in the way of that. It's just as it's normally for servers there will normally be no one to look at logs, and in fact no console to write logs to. But if you do have a console it's supposed to be as usual.

#

Where do you do the System.out.println()?