Send JVM -verbose output to stderr instead of stdout

Posted by obvio171 on Stack Overflow See other posts from Stack Overflow or by obvio171
Published on 2010-04-26T00:18:50Z Indexed on 2010/04/26 0:23 UTC
Read the original article Hit count: 783

Filed under:
|
|
|
|

I'm running java with the -verbose:gc option to measure garbage collector behavior, but it sends the info to stdout, mixing with my program's normal output. How do I tell it to output this info to stderr?

© Stack Overflow or respective owner

Related posts about java

Related posts about command-line