Currently, I am using the following code to trigger a jar file and write the logs. It writes the logs in a file but doesn't show the execution on the console window.
>>"D:\Debug\logfile.log" java -jar Q3587.jar
Please, suggest what changes I can see the logs on console as well. I cannot use Log4j.