Running java server and e2e tests

I want to run a java server and run e2e tests.
The logs should be output to two different consoles. Is this possible?