A DESCRIPTION OF THE REQUEST :
The -Xloggc:<file> option provides no way to specify that you would like the given file to be appended to.
JUSTIFICATION :
We have a long running process for which we would like to record the GC status. We would like to run logrotate on the file specified in the -Xloggc:<file> option. We would also like logrotate to truncate the file. Currently since the file is not being appended to, truncating the file results in nulls being written to in the beginning of the file.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Provide an option to append.
ACTUAL -
The file is never appended to.