Remote project - No unit test logs?
Answered
I have a Maven project which uses Log4j2.
In src/test/resources, I have a log4j2.resources file which specifies my unit test logging configuration.
When I'm working on the project locally on my Mac, I can run my unit tests within IntelliJ and view the log output right within the IDE.
I'm now leveraging the remote development feature to have my project on a remote Linux box. My unit tests run just fine, but I don't see any logs whatsoever within the IDE. If tests fail, I see a little bit about the assertion, but my assertion messages don't even show up.
Presumably this might just be a remote development bug?
Please sign in to leave a comment.
What is the IDE version on the remote server?
It is showing 2022.2.1, where I have 2022.2.3 locally. Let me see if I can update it.
Please install the latest Gateway: https://www.jetbrains.com/help/idea/2022.3/jetbrains-gateway.html#toolbox_gateway
then select 2022.3 EAP in the drop-down menu on SSH connection configuration wizard. Then retest with this latest version. Afaik, the tests output issue should be fixed already.
That did the trick! It's working well now.
Thanks a bunch!