This RFE addresses the a problem faced by long running (one or more months) Java applications generating large log files that exhaust available disk storage.
This RFE introduces a new flag -XX:logfilesize=n and its usage is described as follows:
If the value of n is 0 or is not set then current behavior.
if n is positive, close somefile when its size reaches n and direct
GC log to somefile.1 until its size reaches n, close somefile.1 and
dirct GC log to somefile.2 etc.
A OS specific background (provided by the user) can monitor closed log files
and move them to back up storage.
if n is negative perform circular logging when the file size equals abs(n)