L
L
LittleFatNinja2018-11-29 15:04:44
linux
LittleFatNinja, 2018-11-29 15:04:44

How to redirect output to file when app starts?

I run the application in the following way,
java -jar test.war
it gives its output directly to the console.
How to direct this output to a file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EVGENY T., 2018-11-29
@LittleFatNinja

java -jar test.war > log.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question