javaspringspring-bootintellij-idealogging

Intellij Idea does not show logs in docker


I am using IntelliJ IDEA 2022, which is up to date. I have a Spring Boot application and a remote Docker. I can connect to docker through ssh (via putty, Idea ets) and it works fine. The problem is when I deploy an application in Idea I can't see the log file. Can't see how the application starts and how the logging system works (sl4j), that is absolutely silent for me. Moreover, if I want to connect the app later and see the log in app it will not show information for me, but if I start the app locally (without docker, only in Idea) it shows the needed data. Can anyone help to me with this little inconvenience and give me some advice how to set up Idea, network or something else to achieve the log data?

I have googled but found no information.


Solution

  • Please update IDE to the latest version.