Reputation: 41
Is there a way to redirect the output of jvm which resulted of passing verbose the the java process to specific file?
Upvotes: 4
Views: 1977
Reputation: 98334
java -verbose -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:-DisplayVMOutput -XX:LogFile=test.log
java -Xlog::file=test.log
Upvotes: 5